WoD Scripts
WoD Scripts
Are WoD scripts public? Like is there a github I can go and download them all at?
Re: WoD Scripts
I haven't set that up yet, but I will.
I'm familiar with the acacia. I know how immortality is achieved.
Re: WoD Scripts
Awesome, I can't wait =D
-
- Admirable
- Posts: 102
- Joined: Sun Aug 07, 2011 5:41 am
Re: WoD Scripts
I do remember seeing a pol wod scripts at the pol site.Not sure how old these are.But if you are bored. https://forums.polserver.com/viewtopic.php?f=43&t=2730
Kranisar Loranah/ Master fisherman Please come and join me on my boat, "for a three hour tour"OooOoo
tinker,alchemist,locksmith,miner,fisherman,woodworker, and inscriptionist masters all available.
tinker,alchemist,locksmith,miner,fisherman,woodworker, and inscriptionist masters all available.
Re: WoD Scripts
It's VERY old and the guy who did that porting had no idea of what he was doing. I originally intended to use it as base for porting the scripts to POL 099, but in the end I dropped it entirely in order to keep my sanity. I repeat, the guy had no idea of what he was doing, he was evidently NOT a programmer, not even an average scripter. If you are at least an average scripter, the level of cringe inducing things he did will make you want to hit him on the face with a baseball bat.
I'm familiar with the acacia. I know how immortality is achieved.
-
- Admirable
- Posts: 102
- Joined: Sun Aug 07, 2011 5:41 am
Re: WoD Scripts
He sounds like a programmer I knew of. You would change one detail in a subroutine and it would break 50 more because nothing was separate. Needless to say it was one big mess!
Kranisar Loranah/ Master fisherman Please come and join me on my boat, "for a three hour tour"OooOoo
tinker,alchemist,locksmith,miner,fisherman,woodworker, and inscriptionist masters all available.
tinker,alchemist,locksmith,miner,fisherman,woodworker, and inscriptionist masters all available.
Re: WoD Scripts
Not to that degree, but I will give you one example of things he did...
POL 095 is not "realm aware", so it only uses the Felucca map. The function to move an item to a specific location is:
On POL 098, there is realm awareness, you can access Felucca, Trammel, Ilshenar, Malas, Tokuno, Ter Mur... so the function to move items was changed, as it now has the "realm" parameter. The POL 098 documentation shows the definition of the function like this:
So, what he did on the WoD scripts was replace the MoveItemToLocation() calls with MoveObjectToLocation(), but in the realm parameter he put the complete "realm := _DEFAULT_REALM" string, like this:
Had he known what he was doing, he would have AT LEAST done something like this instead:
Or even create a proper destrealm variable with the desired realm.
POL 095 is not "realm aware", so it only uses the Felucca map. The function to move an item to a specific location is:
Code: Select all
MoveItemToLocation( item, x, y, z, flags )
Code: Select all
MoveObjectToLocation( object, x, y, z, realm := _DEFAULT_REALM, flags := MOVEOBJECT_NORMAL )
Code: Select all
MoveObjectToLocation( item, destx, desty, destz, realm := _DEFAULT_REALM, flags := MOVEOBJECT_NORMAL )
Had he known what he was doing, he would have AT LEAST done something like this instead:
Code: Select all
MoveObjectToLocation( item, destx, desty, destz, _DEFAULT_REALM, MOVEOBJECT_NORMAL )
I'm familiar with the acacia. I know how immortality is achieved.
Re: WoD Scripts
Hah, tell us how you really feel, Agata.
Re: WoD Scripts
I'm familiar with the acacia. I know how immortality is achieved.
Who is online
Users browsing this forum: No registered users and 0 guests