Complex horse NPC

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
I have no want in the world to use this file any more, it took 2 days to write and is most probably the biggest single use NPC script in existance. This NPC sells 4 different types of horse, it also repairs the horses, but in a very different way. The player using the script has to have the horse taken from them for a period of 24 hours before they can reclaim it.

Before you go downloading this, you must first understand the fundemental system that drives it, vairables. https://liandrin.sslpowered.com/help-variables.html read up all the information, then get it to work just so you understand how it all fits together. You will also need to implement the items into your DB, their names are RedHorse , BrownHorse , BlackHorse and WhiteHorse. Here is some information on the horse std modes and shapes.

Now for the script, download this file and extract it into your market_def folder. Next, set up global vairables for RedHorse , BrownHorse , BlackHorse and WhiteHorse. Also set up a system to load the vairables. And finaly, implement the script into your server.

There may be a few bugs in the script, I never managed to test every aspect of it.

Enjoy

P.S. Look at the horse script file size :P
 

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
Good release there m8, I remember quite a while ago you sent the script to me and i was like 'OMG look at the size of it :O'. Looked very complex indeed lol. Good work :)
 

GhettoFx

Runescape HD
Golden Oldie
May 17, 2005
920
0
102
Great Release Could u maybe Set the Q-func up for people cause people like me dont have a clue lol on how to do it even by reading (Thanks)

/Ghetto
 

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
The only reason I released it is because I have given up with mir, but that dosen't me I will not post. I strongly advise you to investigate how to get it working, it will open up more possibilities later on.
 

daneo1989

I am Ancient.
Staff member
Super Moderator
Dec 5, 2005
6,034
1
276
330
UK
Ive just been reading through the script and it all looks good, changed a few things so it can be easily implemented into my server, thanks alot mate. I figured also that it may be required for a GM NPC to where I can increase the variables of each horse by about two so that there are some in stock for when it begins.

Now I teach you something :)

Stallions are not female :)
 

Mystickiller

Bored AF
Untrusted Member
Golden Oldie
Dec 24, 2003
1,007
4
174
Minnesota, USA
there is a lot of useless checks in there, could be done alot simpler, also the file is quite small in comparison to the fast approaching 10 meg file i had for a system.
 

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
the checks stop you from reclaiming the horse from within the 24 hour window