Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-04-2013, 02:37 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Bush/Pot/Rock Drops

So in a long effort to figure out some of the, probably, most easy things, I'm lost on server drops for bushes, rocks, and pots.

I made the idiot mistake of keeping savelevels=true, now it's false, and bushes and all respawn as they should. I also have the graal class for gralats up, its exactly as it should be, gani is downloadable and all. I also have
PHP Code:
bushitems=true
baddyitems
=true 
Nothing drops. I've cut down tons of bushes.

At one point in trying to get this to work, I also had

PHP Code:
bushitemtypes=greenrupee,bluerupee,goldrupee,darts,bombs,heart
deathitemtypes
=greenrupee,bluerupee,goldrupee,darts,bombs,heart
spawnrategreenrupee
=100
spawnratebluerupee
=35
spawnrategoldrupee
=5
spawnrateheart
=80
spawnratebombs
=45
spawnratedarts
=40 
... but it being there or not has made no difference.

The only other thing I could think of was F2 saying it can't find this:
PHP Code:
shopglobal_gelat.png 
... but I don't know if that's to the gralat gani or not and if it matters.

I've tried the edited gani and code (which I'd rather use anyways) here: http://forums.graalonline.com/forums...hp?t=134263706

... and it still didn't do anything.

I'm pretty lost. Isn't this supposed to work default on type 0 tilesets? Am I needing more classes or something to make it work default (I don't want custom, just default for now)? Is there some other server option that would stop this (savelevelsmessage=true? I dunno...)?

It's one of the most stupid, simple things and I can't get it to work period.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...



Last edited by sssssssssss; 01-05-2013 at 01:30 AM..
Reply With Quote
  #2  
Old 01-04-2013, 03:02 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Also just to add, I have a rupee "drop" weapon for kicks, and it works fine dropping gralats with putnpc.

If I need to upload the "gralats" class I can, but that still doesn't solve the hearts, darts, and bombs unless I have a setting wrong or they need classes too. I simply just do not know...
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #3  
Old 01-04-2013, 03:20 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
how are you cutting your bushes? as i remember you said you are having a custom movement. actually it still should work when you remove those tiles via script (on clientside only i think) but maybe the error is with your movement? did you try to disable it and check if it would work than?
__________________
MEEP!
Reply With Quote
  #4  
Old 01-04-2013, 03:22 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
It's all default movement. I have some custom moves, but nothing is replacing anything script wise for slashing. The only the different is a gani that has absolutely nothing special in it, all default (we have some additions to the movement system, but outside of a freezeplayer or a temporary disabledefmovement() its all default, and the swing is for sure).
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #5  
Old 01-04-2013, 03:48 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quite sure stuff doesn't drop from type0 tiles. Try a level with type1 tiles, see if it works.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #6  
Old 01-04-2013, 03:56 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
No we switched to type 0 because type 1 wouldn't even pick up bushes/rocks/pots on default (yes they were in the right spot) so not saying I'm right but I don't see drops working on type 1 if you can't even pick up the tiles (http://forums.graalonline.com/forums...hp?t=134267674), unless something else is wrong and type 1 respawns. :/


Weird thing is the player die works fine and drops stuff.

Just in case:
PHP Code:
#Gameplayoptions
startlevel=armageddon-onlinestart.nw
startx
=29.5
starty
=10.4
unstickmelevel
=armageddon-onlinestart.nw
unstickmex
=29.5
unstickmey
=10.4
jaillevels
=jail.nw
heartlimit
=8
swordlimit
=2
startap
=70
aptime0
=75
aptime1
=150
aptime2
=300
aptime3
=600
aptime4
=1200
aptime5
=2400
putnpcenabled
=true
itemdropevents
=false
bushitems
=true
baddyitems
=true
respawntime
=30
horselifetime
=120
baddyrespawntime
=60
bushitemtypes
=greenrupee,bluerupee,goldrupee,darts,bombs,heart
deathitemtypes
=greenrupee,bluerupee,goldrupee,darts,bombs,heart
spawnrategreenrupee
=100
spawnratebluerupee
=35
spawnrategoldrupee
=5
spawnrateheart
=80
spawnratebombs
=45
spawnratedarts
=40
mindeathgralats
=1
maxdeathgralats
=100
healswords
=false
nickname
=Roak
npcrights
=true
sleepwhennoplayers
=true
disconnectifnotmoved
=false
dontchangekills
=true
staffguilds
=Server,Manager,Owner,Admin
onlystaff
=true
normaladminscanchangegralats
=true
rcofftagoverridesignore
=true
playerlisticons
=Online,Away,DND,Working
staff
=Decus_Arillias,sssssssssss
profilevars
=Kills=playerkills,Deaths=playerdeaths,Hearts=playerfullhearts,Spar Rating=playerrating
gmaps
=roak
savelevels
=false
savelevelsmessage
=true
newtilesets
=true
newtilesetlevels
=roak_
weaponorder
=-GUIProfiles,-System/Initialize 
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...



Last edited by sssssssssss; 01-05-2013 at 01:26 AM..
Reply With Quote
  #7  
Old 01-04-2013, 02:01 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
p.s. code tags are the spawn of the devil and annoying to read, please use php ones
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #8  
Old 01-04-2013, 02:43 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Quote:
Originally Posted by xXziroXx View Post
p.s. code tags are the spawn of the devil and annoying to read, please use php ones
I second that!! Wish they removed (code) tages.. php are much nicer, and formated.
Reply With Quote
  #9  
Old 01-04-2013, 09:50 PM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
it would be a lot easier and more modifiable if you would just make your own dropping system, imo. Atlantis has a great dropping system, check it out in the code gallery.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #10  
Old 01-05-2013, 01:28 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
I'm avoiding scripting anything default unless we really need it modified. This default system should work, and not touching it period is easiest and most quick (if it'd work like it's supposed to).

I got more responses on the code tag than the issue lol. xD Changed regardless I just thought it would be better to distinguish actual code from something else.

Either way, did anyone have any other ideas? This is quite annoying tbh. It's a default system and should work. Hopefully Stefan will take a look at my forum PM.

From what I have it should be working right? Including the server options and all? Nothing else outside of a custom swing and server options effects this does it?
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #11  
Old 01-05-2013, 01:35 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Change itemdropevents from false to true and it will start working.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #12  
Old 01-05-2013, 01:54 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Still nothing. Also to remention that it seems you cannot see another player pick up the bush. It's all seems to be handeled clientside for some reason...

-Respawn is done in time in serveroptions like designated, but reconnecting makes all respawn clientside regardless.

-Players can't see the bush/pot/rock someone else picked up disappear

-Still no drops period.

I believe itemdropevents is so you can in fact script your own drops, and it disables default ones, from what I understood anyways it sends out a trigger or something or another to catch it in code instead...

To add, I've also killed and restarted the npc server for some changes, and then reconnected. Hasn't changed a thing.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #13  
Old 01-05-2013, 10:16 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Just throwing out there one more time before giving up.....

Can anyone see anything else that could be wrong, or think or something that is stopping any of this from happening? If you want to come on the server, I'd be glad to let you.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #14  
Old 01-05-2013, 10:48 AM
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
Quote:
Originally Posted by sssssssssss View Post
I'm avoiding scripting anything default unless we really need it modified. This default system should work, and not touching it period is easiest and most quick (if it'd work like it's supposed to).
For the record, that was pretty much my plan on Atlantis: use as much default stuff as possible. Default objects such as bushes and stones are not sufficient, and the default item drop system is not either, even with the events enabled. Go with your own, it'll be a nice experience.
Reply With Quote
  #15  
Old 01-05-2013, 06:31 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
I am, starting today.

I know what ya mean, and it will be better. We just really didn't need a lot of the "custom" stuff on our server because it is in fact classic style. All well... xD
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:58 PM.


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