Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
*sendto and some mystery server.ini settings
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  something weird happened in my zone. Post :: Post Any1 intrested to make me a bot/plugin...  View next topic  
Author Message
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Wed Nov 28, 2007 11:03 am    Post subject: *sendto and some mystery server.ini settings Reply to topic Reply with quote

Some more interesting stuff i dredged up. The following entries are loaded when starting subgame from subgame.ini (i've filled in examples o what i think could go in the entries)

[Peers]
MyArenas = example, example2

[Peer0]
//must include port and be valid hostname or entire entry is ignored.
Address = 127.0.0.1:1000
SendOnly = 0
SendPlayerList = 1
Password =bbbbb
Arenas = example

[Peer1]
Address = 127.0.0.1:6000
SendOnly = 0
SendPlayerList = 1
Password = fsfsf
Arenas = example2

[Peer...]
etcetcetc

The settings are loaded before anything else. Don't totally understand what these do (if anything) or mean. Anyone able to shed any light? Seems to be some kinda distributed server setting.
_________________
Rediscover online gaming. Get Subspace | STF The future...prehaps


Last edited by Doc Flabby on Wed Nov 28, 2007 1:25 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Nov 28, 2007 11:59 am    Post subject: Reply to topic Reply with quote

Mmm there's always been a rumor TW works on a distributed server network.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Wed Nov 28, 2007 1:25 pm    Post subject: Reply to topic Reply with quote

On another note I've found the correct syntax for *sendto

As was thought it sends a player to another zone

example usage /*sendto zone ip, zone port
Code: Show/Hide

/*sendto 127.0.0.1,6000


I've tested this on my computer and it works. I'm running the latest public version of subgame
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Nov 28, 2007 7:47 pm    Post subject: Reply to topic Reply with quote

Sweet! I echo the same sentiments, I've always heard TW runs on distributed network as well. If these settings/commands work, it makes it even more probable.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Nov 28, 2007 11:42 pm    Post subject: Reply to topic Reply with quote

Nice stuff.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Nov 29, 2007 3:00 am    Post subject: Reply to topic Reply with quote

Haha still hex editing continuum .exe file's, doc? sa_tongue.gif

Doc Flabby wrote:
I've found the correct syntax for *sendto
Sweet, good work on finding out biggrin.gif

About those [Peer] settings, have you got them working already?

Those are some interesting settings, I wonder they do.
SendOnly, SendPlayerList, Password, Arenas ... hmmmm icon_rolleyes.gif
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Thu Nov 29, 2007 2:10 pm    Post subject: Reply to topic Reply with quote

I actually talked with Dock about sendto years back, he said they run a single instance of subgame and that it's used to redirect players when they're being DDoS attacked
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
dugwyler
Newbie


Joined: Nov 29 2007
Posts: 7
Offline

PostPosted: Thu Nov 29, 2007 6:40 pm    Post subject: Reply to topic Reply with quote

Found out that the full syntax is:

*sendto IP,port,arenaname

You can send them to a given arena, or use it at the edge of an arena map and send someone to the next one in an RPG-style game, etc!
Back to top
View users profile Send private message Add User to Ignore List
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Nov 29, 2007 6:42 pm    Post subject: Reply to topic Reply with quote

Awesome biggrin.gif

Too bad it's sysop only tongue.gif
You can actually send people to different arenas in the same server $$
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Thu Nov 29, 2007 7:16 pm    Post subject: Reply to topic Reply with quote

This discovery opens up alot of new ideas for zones icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Nov 29, 2007 7:58 pm    Post subject: Reply to topic Reply with quote

Nothing that ASSS couldn't already provide.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
dugwyler
Newbie


Joined: Nov 29 2007
Posts: 7
Offline

PostPosted: Thu Nov 29, 2007 10:59 pm    Post subject: Reply to topic Reply with quote

Hey, get Priit to run it and we're on board. In the meantime, I'll be ridiculously happy over small miracles such as this.
Back to top
View users profile Send private message Add User to Ignore List
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Fri Nov 30, 2007 12:21 am    Post subject: Reply to topic Reply with quote

Maverick wrote:

Too bad it's sysop only tongue.gif


nothing mervbot cant handle =)
_________________
SSC Distension Owner
SSCU Trench Wars Developer
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Fri Nov 30, 2007 1:53 am    Post subject: Reply to topic Reply with quote

Cheese wrote:
[..]
nothing mervbot cant handle =)

You're forgetting that even the bot has to have sysop.

I meant it more like "too bad it's sysop so normal staff can't use it on a daily basis to use against players who are breaking rules".
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
SlicerGUEST
Guest


Offline

PostPosted: Sat Dec 01, 2007 1:41 pm    Post subject: Reply to topic Reply with quote

just tried it from SSCI Mystic Kingdom to Trench wars, works but the map is redownloaded and saved in the original zone file.
Good stuff
Back to top
cycad
Novice


Gender:Gender:Male
Joined: Feb 12 2004
Posts: 29
Offline

PostPosted: Sat Dec 01, 2007 6:49 pm    Post subject: Reply to topic Reply with quote

Hi I don't know if this is useful to this group (I don't follow these forums and was linked to this topic) but the format of the packet that *sendto uses is:

Code: Show/Hide

#pragma pack(1)
typedef struct s2c_sendto S2C_SENDTO;
struct s2c_sendto {
   BYTE   type;         // 0x3B
   DWORD   ip_addr;      // IP Address (little endian)
   WORD   port_num;      // Port number (little endian)
   WORD   join_type;      // Same as the arena login packet
   char   arena_name[16];   // Arena Name
   DWORD   unused;
};
#pragma pack()


I haven't had any luck testing *sendto locally though, maybe because the target of my testing isn't connected to the SSC biller. Just guessing.

Also, I'm mildly confident that the INI settings mentioned here don't pertain to *sendto.
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Dec 01, 2007 7:47 pm    Post subject: Reply to topic Reply with quote

Your unused field is marked as "loginid" in asss. I never got it to work in asss anyway.
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Guest



Offline

PostPosted: Thu Dec 06, 2007 12:29 pm    Post subject: Reply to topic Reply with quote

this doesn't seem to work pub to pub

anyone have luck sending a player to a public arena?
Back to top
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Thu Dec 06, 2007 2:28 pm    Post subject: Reply to topic Reply with quote

I sent myself from SSCI Penis to SSCI Halo multiple times. Pub to pub.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Fri Dec 07, 2007 12:00 am    Post subject: Reply to topic Reply with quote

Does it require sysop in both source and target zones?
Does it work from arena to arena in a same zone?
I tried it and couldn't get it to work icon_sad.gif
_________________
(Insert a bunch of dead links here)
Back to top
View users profile Send private message Add User to Ignore List
rootbear75
Novice


Age:36
Gender:Gender:Male
Joined: Mar 10 2005
Posts: 76
Location: Hollywood, CA
Offline

PostPosted: Fri Dec 07, 2007 12:45 am    Post subject: Reply to topic Reply with quote

Anonymous wrote:
this doesn't seem to work pub to pub

anyone have luck sending a player to a public arena?

wouldn't you just do /*sendto <IP>,<port>,# to send someone to Public #
ex: /*sendto 127.0.0.1,6000,32 to send someone to public 32
Back to top
View users profile Send private message Add User to Ignore List AIM Address MSN Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Fri Dec 07, 2007 2:04 am    Post subject: Reply to topic Reply with quote

/*sendto IP,Port will send you to a public arena, so it also works pub to pub.

Samapico wrote:
Does it require sysop in both source and target zones?
Does it work from arena to arena in a same zone?
I tried it and couldn't get it to work icon_sad.gif

It requires sysop to do the command, however the target doesn't need to be sysop to be switched.
It works from arena to arena in the same zone, you just need to use the IP and port of the current zone.

Samapico, check the server.ini DisablePvtCommands setting. It might have been disabled as it's possible to crash subgame with it.

Note; if you login to sysop or smod using password*staffpassword then this command wouldn't work as you would be trying to login to the other zone using the same password*staffpassword combination.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Sat Dec 08, 2007 12:57 am    Post subject: Reply to topic Reply with quote

Quote:
Samapico, check the server.ini DisablePvtCommands setting. It might have been disabled as it's possible to crash subgame with it.
good call...

Quote:
It might have been disabled as it's possible to crash subgame with it.
Is there any 'what NOT to do' guidelines yet?

Quote:
Note; if you login to sysop or smod using password*staffpassword then this command wouldn't work as you would be trying to login to the other zone using the same password*staffpassword combination.
oh... interesting
Back to top
View users profile Send private message Add User to Ignore List
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Dec 08, 2007 11:55 pm    Post subject: Reply to topic Reply with quote

Maverick wrote:
Note; if you login to sysop or smod using password*staffpassword then this command wouldn't work as you would be trying to login to the other zone using the same password*staffpassword combination.


Er, I can see why that would happen, but it didn't happen to me. I was able to send myself from a zone I logged in with the password*sysoppassword combination into another zone I didn't have staff powers in.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
milosh
Newbie


Age:38
Gender:Gender:Male
Joined: Dec 09 2007
Posts: 6
Offline

PostPosted: Sun Dec 09, 2007 4:10 pm    Post subject: Reply to topic Reply with quote

Animate Dreams wrote:
[..]
Er, I can see why that would happen, but it didn't happen to me. I was able to send myself from a zone I logged in with the password*sysoppassword combination into another zone I didn't have staff powers in.


He's just saying that you won't be able to send yourself back to the original zone once you get there(since you won't have sysop powers in that zone).
_________________
SSCU Trench Wars Moderator
SSCU Trench Wars Bot Developer
SSCU Trench Wars Dev Member
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 20 page(s) served in previous 5 minutes.

phpBB Created this page in 0.508804 seconds : 49 queries executed (91.7%): GZIP compression disabled