Graal Forums  

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

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 02-07-2011, 05:40 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
Smile New gserver + npcserver version

We have uploaded new versions of gserver and npcserver (except for Graal Kingdoms). The gserver is now enabling the projectile filters as described by Tig in an earlier post. The npcserver has following changes:
- added TServerPlayer.sendtorc(message)
- fixed default: labels in switch() statements, doesn't need to be at the last position anymore
- added command /memstats malloc (can show number of free allocated blocks etc., more interesting for advanced users, see mallinfo() documentation on the web)
- optimized mysql database access
Reply With Quote
  #2  
Old 02-07-2011, 05:45 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stefan View Post
- added TServerPlayer.sendtorc(message)
Thank you.
__________________
Reply With Quote
  #3  
Old 02-07-2011, 05:54 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by Stefan View Post
- added command /memstats malloc (can show number of free allocated blocks etc., more interesting for advanced users, see mallinfo() documentation on the web)
Very cool, thanks for the update.
Reply With Quote
  #4  
Old 02-07-2011, 06:06 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Thanks. Restart Atlantis please
__________________
Reply With Quote
  #5  
Old 02-07-2011, 06:11 PM
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
Impersonating staff on RC just got a lot easier.

PHP Code:
function secho(msg) {
  for (
temp.rcfindRCs()) {
    
temp.rc.sendtorc(msg);
  }
}

function 
findRCs() {
  for (
aallplayers) {
    if (
a.level == NULLtemp.rcs.add(a);
  }
  return 
temp.rcs;

Edit: Private debugging echo

PHP Code:
function echo(msg) {
  
findRC("yourAcct").sendtorc(msg);
}

function 
findRC(acct) {
  for (
aallplayers) if (a.account == acct) return a;
  return 
findplayer(acct);

__________________
Quote:

Last edited by fowlplay4; 02-07-2011 at 11:15 PM..
Reply With Quote
  #6  
Old 02-07-2011, 08:00 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
nice

does "TServerPlayer.sendtorc(message)" mean that it only shows for player (and not to the other players on rc)?

Testbed Server(not "testbed", lol)' npcserver went kaput, cant restart it, could you restart it?
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #7  
Old 02-07-2011, 08:18 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Stefan View Post
- added TServerPlayer.sendtorc(message)
Well, this is lovely

Quote:
Originally Posted by Deas_Voice View Post
nice

does "TServerPlayer.sendtorc(message)" mean that it only shows for player (and not to the other players on rc)?
Indeed.

Quote:
Originally Posted by Deas_Voice View Post
Testbed Server(not "testbed", lol)' npcserver went kaput, cant restart it, could you restart it?
Fixed the name.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #8  
Old 02-07-2011, 10:07 PM
Matt Matt is offline
iZone Administrator
Matt's Avatar
Join Date: Apr 2005
Location: United States
Posts: 2,690
Matt is a jewel in the roughMatt is a jewel in the rough
Nice updates.
__________________
Need Playerworld or Account support?
GraalOnline/Toonslab Support Center
Reply With Quote
  #9  
Old 02-07-2011, 10:39 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
Fixed a problem in the script compiler so that testbed is starting again.
Reply With Quote
  #10  
Old 02-08-2011, 12:26 AM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Quote:
Originally Posted by fowlplay4 View Post
Impersonating staff on RC just got a lot easier.
Not sure why people with RC would want to impersonate other people with RC...
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote
  #11  
Old 02-08-2011, 12:38 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 LoneAngelIbesu View Post
Not sure why people with RC would want to impersonate other people with RC...
Shenanigans, that's why.
__________________
Quote:
Reply With Quote
  #12  
Old 02-08-2011, 01:54 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
help fowlplay abusing me ;_;...
__________________
Reply With Quote
  #13  
Old 02-12-2011, 11:21 AM
PowerProNL PowerProNL is offline
Retired Zone Manager
PowerProNL's Avatar
Join Date: Feb 2008
Location: Holland
Posts: 266
PowerProNL can only hope to improve
Send a message via AIM to PowerProNL
Nice
__________________
Graal Mail: [email protected]
McPowerProNL, I'm loving it
Reply With Quote
  #14  
Old 02-13-2011, 08:09 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Is this update supposed to be removing the need to manually update gmaps whenever a gmap level is uploaded?

This seems to be the case and if true.
Reply With Quote
  #15  
Old 05-17-2011, 02:16 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by ffcmike View Post
Is this update supposed to be removing the need to manually update gmaps whenever a gmap level is uploaded?

This seems to be the case and if true.
So it seems pretty definite that this is the case, and while this is a decent update I've noticed some strange behaviour regarding clientside scripts joined to gmap npcs.
Sometimes normal functions which are part of a joined sub-class, called onCreated or on the first onPlayerEnters will return the "not found" error in f2/scripts, and this starts working again when the gmap is updated by the old manual way.

For instance...

NPC script:

PHP Code:
this.join("class1");

//#CLIENTSIDE
function onCreated(){
  
this.test();

class1 script:

PHP Code:
this.join("class2");

//#CLIENTSIDE
function test(){
  if(
this.someCheck()){
    
this.doSomething();
  }

class2 script:

PHP Code:
//#CLIENTSIDE
function someCheck(){
  return 
somecondition;

Would result in:

"someCheck not found in script of <some gmap npc>".
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:43 AM.


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