Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-28-2006, 02:30 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
resetting player

i am making it so if the npcserver is started (since it calls actionplayeronline or whatever it resets all players who are logged onto a character on mana realms.

problem is.. when it resets the player it doesnt disconnect them from the pw

the player can still move around and do things, but cant reconnect any way (not even using F8) also cant see them on player list to disconnect them manually

will have to restart graal for this to work

anyways, i hope this is a problem that can be fixed easily because it kinda stinks :-\
Reply With Quote
  #2  
Old 03-28-2006, 03:03 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
For the resetting thing on Mana Realms it might be better to add an option for the gserver to not save the player stats? That would get rid of the reset-on-login thing
Reply With Quote
  #3  
Old 03-28-2006, 03:22 PM
NicoX NicoX is offline
Kingdoms Management
NicoX's Avatar
Join Date: Mar 2004
Location: Frankfurt/Main, Germany
Posts: 1,933
NicoX will become famous soon enough
Send a message via AIM to NicoX Send a message via MSN to NicoX
Well for me it resets and disconnects them.

NPC Code:
if (!contains(this.resetList, player.account)) {
sendtorc( "/reset" @ player.account);
this.resetList.add( player.account);
}



-Nico
__________________
Yours Sincerely,

-Nico
(GK Management)

Clash: Nico, I'm going to give you an example of good management.
Clash: One of my staff removed my RC and banned me.
Clash: I didn't ban or remove their RC after I got another one to fix me.
Clash: Do you know why?
Björn: Because you IP banned him ?

Stefan logged on.
(npcserver) has reset the attributes of Stefan
*Stefan: ah my client crashed








Reply With Quote
  #4  
Old 03-28-2006, 07:14 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Would be better.. but this works because I can save the players info when they log out through the Control-NPC then reset them.

So as long as I was still able to access their stats with the ActionPlayerLogout or whatever the action is before it resets.. then yes would be very nice to have stats not save.
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:55 PM.


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