Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-24-2007, 01:32 AM
WHIPENIE4 WHIPENIE4 is offline
I am X-Mann
Join Date: Aug 2001
Location: PA
Posts: 2,715
WHIPENIE4 is on a distinguished road
Send a message via ICQ to WHIPENIE4 Send a message via AIM to WHIPENIE4
Question

How Do You Change The server from puting down those ugly new Gralats, instead put down the Rupees?
__________________
Mind over Matter. If your body dont mind, why does it matter?

- X-Mann (Blessing Graal since 1998) Haha

- Graal 2000 Project (Contact Me to get Apart of this expierience

Windows Vista. Graal. Not a Good Combination.
Reply With Quote
  #2  
Old 05-24-2007, 01:50 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
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.
__________________
Do it with a DON!
Reply With Quote
  #3  
Old 05-24-2007, 08:10 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
I'd use it, it's secure.
__________________
Reply With Quote
  #4  
Old 05-24-2007, 01:49 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by xAndrewx View Post
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.
__________________
Do it with a DON!
Reply With Quote
  #5  
Old 05-24-2007, 05:03 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
I think you're wrong. Prove me wrong.
__________________
Reply With Quote
  #6  
Old 05-25-2007, 12:08 AM
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
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.
__________________
Reply With Quote
  #7  
Old 05-25-2007, 01:27 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by zokemon View Post
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.
__________________
Reply With Quote
  #8  
Old 05-25-2007, 01:38 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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.
Reply With Quote
  #9  
Old 05-25-2007, 08:30 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
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!
__________________
Reply With Quote
  #10  
Old 05-25-2007, 09:17 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
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.
__________________
Do it with a DON!
Reply With Quote
  #11  
Old 05-25-2007, 10:46 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
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
__________________
Reply With Quote
  #12  
Old 05-25-2007, 10:48 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by cbkbud View Post
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?
__________________
Do it with a DON!
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 12:19 PM.


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