![]() |
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:
At one point in trying to get this to work, I also had PHP Code:
The only other thing I could think of was F2 saying it can't find this: PHP Code:
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. |
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... |
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?
|
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).
|
Quite sure stuff doesn't drop from type0 tiles. Try a level with type1 tiles, see if it works.
|
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:
|
p.s. code tags are the spawn of the devil and annoying to read, please use php ones
|
Quote:
|
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.
|
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? |
Change itemdropevents from false to true and it will start working.
|
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. |
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. |
Quote:
|
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 |
| All times are GMT +2. The time now is 10:41 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.