Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Question (https://forums.graalonline.com/forums/showthread.php?t=74164)

WHIPENIE4 05-24-2007 01:32 AM

Question
 
How Do You Change The server from puting down those ugly new Gralats, instead put down the Rupees?

zokemon 05-24-2007 01:50 AM

Delete the "gralats" class.
There is a NPC inside of onlinestartlocal.graal that is turning rupees into gralats.
I highly suggest you don't use rupees though if you want anything even half-way secure.

xAndrewx 05-24-2007 08:10 AM

I'd use it, it's secure.

zokemon 05-24-2007 01:49 PM

Quote:

Originally Posted by xAndrewx (Post 1311313)
I'd use it, it's secure.

No it isn't...
Any simple trainer could drop a rupee item and have it spawn a gralat npc. It isn't secure at all.

xAndrewx 05-24-2007 05:03 PM

I think you're wrong. Prove me wrong.

cbk1994 05-25-2007 12:08 AM

You have more control if you were to make player.rupees/player.gralats (or whatever it is now) into a clientr variable, such as clientr.money; this way you can have added security and logging.

Kristi 05-25-2007 01:27 AM

Quote:

Originally Posted by zokemon (Post 1311359)
No it isn't...
Any simple trainer could drop a rupee item and have it spawn a gralat npc. It isn't secure at all.

your graalat count has to be modified serverside. A player cannot just spawn a serverside npc with a trainer.

DustyPorViva 05-25-2007 01:38 AM

I think what he's getting at is that while you can't modify your gralat count or make a putnpc, you can drop a default Graal gralat and it'll turn into the gralat NPC anyways.
I actually don't think you can use trainers to drop gralat's anymore. I honestly don't remember though.

xAndrewx 05-25-2007 08:30 AM

No, you can't.
Use the gralats class, it's good.

HTML Code:

with(putnpc2(npcx, npcy, "join gralats;"))
{
  rupees = 10;
}

would drop a gralat worth 10 rupees!

zokemon 05-25-2007 09:17 PM

If the rupees item can not be dropped clientside anymore then I stand corrected! I was just saying this from past memory as a young GP on servers where I would catch "hackers" causing "gold rupees" to drop on a certain location. I'm sure every GP from those days remembers people doing this. ;)

cbk1994 05-25-2007 10:46 PM

Oh, I know what you're talking about.

No, drop and drop2 on clientside drop something you have. So if you were to drop a goldrupee with a function, it would take the goldrupee from you, and wouldnt drop if you didn't have.

I do remember a different way to get past it though, very easy. Not telling though ;)

zokemon 05-25-2007 10:48 PM

Quote:

Originally Posted by cbkbud (Post 1311844)
Oh, I know what you're talking about.

No, drop and drop2 on clientside drop something you have. So if you were to drop a goldrupee with a function, it would take the goldrupee from you, and wouldnt drop if you didn't have.

I do remember a different way to get past it though, very easy. Not telling though ;)

What about those old scripts that NPCs would use to drop a rupee onto you? :confused:


All times are GMT +2. The time now is 02:52 AM.

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