NPC sell formula

Welcome in the osRose emulator Project.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

NPC sell formula

Postby meydan on Tue Aug 12, 2014 9:24 am

The formula of selling items to the npc isnt correct and you get less or more zuly then you should for each item.
I tried comming up with the formula but i couldnt since its client sided, i wonder if anyone has it or can help me to figure it :(
meydan
Jelly Bean
Jelly Bean
 
Posts: 30
Joined: Tue Aug 06, 2013 12:23 pm

Re: NPC sell formula

Postby Vetyst on Tue Aug 12, 2014 1:16 pm

the forumla(s) for NPC buy and sell prices are quit complicated since many variables zone related have a roll in them.

Many of those can be found in the .ZON file located in the MAPS.VFS a reference to this file can be found the LIST_ZONE.STB on column 1 'Zone Files (including the path)'.

The economic related variables are located at the last block(5/5) of every .ZON
were is the second(2/5) block for (tele)gates and such.
User avatar
Vetyst
osRose dev
osRose dev
 
Posts: 146
Joined: Sat Jun 18, 2011 10:56 am
Location: The Netherlands

Re: NPC sell formula

Postby Brett19 on Sat Aug 16, 2014 7:52 pm

I found these somewhere online. Reposted for posterity.

http://pastebin.com/AMuTzL8P
http://pastebin.com/HSb1SX6V

Cheers, Brett
Brett19
Smoulie
Smoulie
 
Posts: 59
Joined: Sun Dec 30, 2007 2:38 am
Location: Canada


Return to Support - OsRose Emulator

Who is online

Users browsing this forum: No registered users and 12 guests

cron