Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Server 'eating' money. (https://forums.graalonline.com/forums/showthread.php?t=134266066)

Ducati_Link 03-22-2012 01:27 PM

Server 'eating' money.
 
When I drop money via S+A and drop it, the server picks it up. How do I stop this?

Thank you,

Ducati.

Crow 03-22-2012 01:30 PM

Using the classic system? Maybe you're missing the "gralats" class the server is supposed to spawn upon dropping rupees. Should be somewhere on the forums though.

callimuc 03-22-2012 02:07 PM

Quote:

Originally Posted by Crow (Post 1689611)
Using the classic system? Maybe you're missing the "gralats" class the server is supposed to spawn upon dropping rupees. Should be somewhere on the forums though.

Here it is
PHP Code:

function onCreated() {
  
showcharacter();
  
dontblock();
  
updategani();
}
function 
onUpdategani() {
  
updategani();
}

function 
updategani() {
  
temp.type 1;
  if (
rupees>=100temp.type 4;
  else if (
rupees>=30temp.type 3;
  else if (
rupees>=5temp.type 2;

  
setcharani("gralats"temp.type);
}

function 
onPlayerTouchsMe() {
  
player.rupees += rupees;
  
rupees 0;
  
destroy();




In case you are missing it, simply add a class called īgralatsī and put in that script. Itīs the default one.

Ducati_Link 03-22-2012 02:53 PM

hrm, nope - it still disappears when you drop it. :(

If I log into a level where money has dropped, I can see the gralats for a moment, with an amount on top, but goes again.

callimuc 03-22-2012 03:01 PM

Did you disable the gralats dropping or did you change something in the script for custom things?

Ducati_Link 03-22-2012 03:14 PM

Done nothing - I got Stefan to do a full reset of the server a few weeks ago. I havn't really had any reason to drop money, but we changed our sprites.png so I was testing how the gralat turned out, and then seen this is happening.

Fulg0reSama 03-22-2012 03:40 PM

Quote:

Originally Posted by Ducati_Link (Post 1689616)
Done nothing - I got Stefan to do a full reset of the server a few weeks ago. I havn't really had any reason to drop money, but we changed our sprites.png so I was testing how the gralat turned out, and then seen this is happening.

Is the gralat actually visible at any rate?

Ducati_Link 03-22-2012 03:47 PM

1 Attachment(s)
When I drop it, it stays for about half a second, then disappears. When I log into a level i'v dropped money on, I see this for about half a second aswell.. before, again, it disappears.

callimuc 03-22-2012 05:18 PM

Can you pick them up? Like when you are walking to the location of the invisible Gralat is it getting removed and you are earning the ammount of Gralats or does it stay there?
Does that happen to anyone else? If not, your gralats.gani might be broken

Ducati_Link 03-22-2012 05:30 PM

Yep, I can pick them up if I get to them before they disappear, and it adds to my gralat count.
And yep, happens to others too.

Admins 03-24-2012 03:47 PM

That's weird, it normally only happens when the npcserver is down.
It could also be possible that the gralats are invislbe on your server, it would be good to make sure that you really have the gralats class on the npcserver and possibly add some echo()s to it.

Ducati_Link 03-24-2012 06:02 PM

Still can't get it to work :\ and certainly on there.

Crow 03-24-2012 06:58 PM

itemdropevents was set to true in the server options. Set to false, works now ^^

xXziroXx 03-24-2012 07:10 PM

No more eating money for you, N-Pulse!

Ducati_Link 03-24-2012 07:15 PM

haha, thanks alot guys ^.^ It's much appreciated.


All times are GMT +2. The time now is 07:27 PM.

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