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 in asss

 
Post new topic   Reply to topic Printable version
 View previous topic  List of players allowed per arena Post :: Post Plugin to ASSS  View next topic  
Author Message
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Wed Dec 31, 2008 10:49 am    Post subject: sendto in asss Reply to topic Reply with quote

is it currently possible?
does it already exist?
if not, can we make a module?
_________________
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
Bak
?ls -s
0 in


Age:24
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Wed Dec 31, 2008 1:26 pm    Post subject: Reply to topic Reply with quote

?send <arenaname>
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Wed Dec 31, 2008 6:33 pm    Post subject: Reply to topic Reply with quote

to a different zone, and possibly a specific arena in another zone...
>_>
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Dr Brain
Flip-flopping like a wind surfer


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

PostPosted: Wed Dec 31, 2008 6:37 pm    Post subject: Reply to topic Reply with quote

Look up the packet protocol and make your own.
_________________
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
Snrrrub
Novice


Joined: May 29 2008
Posts: 37
Offline

PostPosted: Sat Jan 03, 2009 2:23 pm    Post subject: Reply to topic Reply with quote

I've updated ASSS 1.4.4 to support *sendto. If there's interest, I can release the patch.

-Snrrrub
Back to top
View users profile Send private message Add User to Ignore List
Arnk Kilo Dylie
Seasoned Helper


Age:36
Gender:Gender:Male
Joined: Jul 14 2006
Posts: 108
Offline

PostPosted: Thu Jan 29, 2009 1:40 pm    Post subject: Reply to topic Reply with quote

A command is fine but a fix redirect module is what I'm looking for. I can probably adapt what you've done if you don't want to do it.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Snrrrub
Novice


Joined: May 29 2008
Posts: 37
Offline

PostPosted: Sat Jan 31, 2009 2:41 am    Post subject: Reply to topic Reply with quote

The *sendto patch includes a fix for the redirect module. But the redirect module fix is a one-liner so here you go:

redirect.c:37:
pkt.ip = ntohl(addr.s_addr);

The IP address should be sent as a little-endian 32-bit integer, not in network byte order. Of course, this code assumes you're on a little-endian machine but as3 makes that assumption everywhere anyway so no harm done.

Enjoy.

-Snrrrub
Back to top
View users profile Send private message Add User to Ignore List
Arnk Kilo Dylie
Seasoned Helper


Age:36
Gender:Gender:Male
Joined: Jul 14 2006
Posts: 108
Offline

PostPosted: Sat Jan 31, 2009 4:44 pm    Post subject: Reply to topic Reply with quote

What? I already knew about the byte order thing being out of whack, I thought you had something that would make redirect/sendto protocol actually work. :|
It doesn't work because there is no way to authorize players that were redirected in asss and asss doesn't seem to do whatever is necessary to get redirected players allowed in subgame zones either. Am I missing something here?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Snrrrub
Novice


Joined: May 29 2008
Posts: 37
Offline

PostPosted: Sun Feb 01, 2009 11:58 am    Post subject: Reply to topic Reply with quote

There's nothing else wrong with as3's redirect implementation. You're not seeing logins succeed because your zone isn't connected to the SSC biller. See http://forums.minegoboom.com/viewtopic.php?t=8298 for details.

-Snrrrub
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: Sun Feb 01, 2009 12:56 pm    Post subject: Reply to topic Reply with quote

never did get that last question answered, snrrrub...
icon_biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Goldeye
Novice


Gender:Gender:Male
Joined: Dec 15 2003
Posts: 57
Offline

PostPosted: Mon Feb 09, 2009 2:03 am    Post subject: Reply to topic Reply with quote

It seems that the current ASSS implementation does not receive redirects successfully. Sending from HZ to a subgame zone works, but from HZ back to itself or HS (both ASSS) does not.
I haven't tested subgame to HZ, but I expect it will not work.

It's not entirely clear why. My guess is that the billing identity packet is sent to the client later than it should be. Odd that it works for the GUI but not the redirect. The code that sends the billingidentity is in security.so, so it's hard to check its behavior. Anyone able to forward this to Grelminar to take a look?
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Page 1 of 1

 
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: 641 page(s) served in previous 5 minutes.

phpBB Created this page in 0.712584 seconds : 36 queries executed (96.2%): GZIP compression disabled