Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Feature request
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-09-2013, 04:23 AM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
Mobile Staff and PC Servers

I know there was a thread about this previously and things like staff weapons are to attach to the client making it possible for them to be carried over when server warping from an iPhone server to any other server, including a PC server. It's fairly annoying, and on UN we've either made some janky script workarounds (even down detecting the player's font, and destroying GraalControl and everything else on the screen if the font is the same used on iDevice servers--specifically iZone, Ol' West, and iEra), or flat out banned the players from the server.
So here is my proposal: either add a way to detect what server a player warped from so we can handle it ourselves (or better yet Stefan in a login NPC), or flat out disable server warping to PC servers from iDevice servers.
Maybe something along the lines of:
PHP Code:
TServerPlayer.lastserver string (read only
EDIT: just realized the possibility of the slim chance of this being abused, as servers could manipulate players based on the last server they were on. However unlikely the scenario, maybe a better solution should be thought up. Perhaps the latter option provided above. Or just throw it into a login NPC and not allow servers to access it? Any better ideas?
Reply With Quote
  #2  
Old 05-09-2013, 04:32 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
All mobiles servers have (or should have) a -Movement/VirtualKeys weapon that's added to everyone. This should detect them all:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  if (
findweapon("-Movement/VirtualKeys"in player.weapons) {
    
kill_them();
  }

Also you should just disconnect them (sendtorc("/disconnect account")) or serverwarp them to Login. Also this should probably be implemented in at least one script on each mobile server to prevent abusive mobile staff:

PHP Code:
//#CLIENTSIDE
function onServerLogin() {
  if (
getservername().pos("iPhone") == -&& getservername().pos("Login") == -1) {
    
serverwarp("Login");
  }

__________________
Quote:
Reply With Quote
  #3  
Old 05-09-2013, 04:33 AM
Stowen Stowen is offline
Graalian since '01
Join Date: Sep 2005
Location: Massachusets, USA
Posts: 156
Stowen will become famous soon enough
Send a message via AIM to Stowen Send a message via MSN to Stowen
I agree. Something should be put into place to help this, it really sucks throwing together scripts to detect which font a player is using to determine if they were on an iServer or not.
__________________
Quote:
Originally Posted by Felix_Xenophobe View Post
He is no carpenter's son but Stowen will breathe life into pc graal.
Unholy Nation is my home.
Reply With Quote
  #4  
Old 05-09-2013, 04:35 AM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
That also works, thanks again FP4! A weapon name or a flag was what we were searching for initially, but with the boat load of flags and weapons each player has on the server it's not really ideal to go through that much work for a problem initiating from the players themselves.
And when the player is disconnected or warped to the login server, would the weapons not still be attached to the client from the iOS server? I suppose continuously disconnecting them would still solve that problem either way, but in case they "don't know" (so many pleas from these iOS staff members) it's nice to let them know they have to restart the client. I guess a disconnect message could be used so it doesn't matter o_o
Reply With Quote
  #5  
Old 05-09-2013, 04:41 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by devilsknite1 View Post
That also works, thanks again FP4! A weapon name or a flag was what we were searching for initially, but with the boat load of flags and weapons each player has on the server it's not really ideal to go through that much work for a problem initiating from the players themselves.
And when the player is disconnected or warped to the login server, would the weapons not still be attached to the client from the iOS server?
iOS servers are 'Login' servers so their weapons persist when they change servers. I'm not sure if getting warped to the default Login server removes the weapons from other Login servers though.

The relay hack operates the same way, so you can detect the injected weapons in a similar fashion.

It'd be better if Stefan just implemented that server check snippet of code on each server though.
__________________
Quote:
Reply With Quote
  #6  
Old 05-09-2013, 06:40 AM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
Quote:
Originally Posted by fowlplay4 View Post
The relay hack operates the same way, so you can detect the injected weapons in a similar fashion.
Granted you know what those weapon names are. Unless you compile a list of all weapons on the server and if one doesn't match up do it that way, but pretty unreasonable for something that could actually be fixed fairly easily in the first place.
Reply With Quote
  #7  
Old 05-09-2013, 12:28 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by fowlplay4 View Post
PHP Code:
//#CLIENTSIDE
function onServerLogin() {
  if (
getservername().pos("iPhone") == -&& getservername().pos("Login") == -1) {
    
serverwarp("Login");
  }

Thank you, never really thought of that. Just added this to iEra and iEra Dev but limited the check to iEra (Dev).
__________________
MEEP!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.