Need alittle help

01/18/2015 23:44 Yukinox#1
Anyone knows how to find the ShopID's?
01/19/2015 00:50 pro4never#2
The ID of shops is the same as the NPC they were accessed from.

Shops.dat contains what items are available in each shop ID.
01/19/2015 15:14 Yukinox#3
i mean for example the Shopping Mall
01/19/2015 17:45 mujake#4
You should really just check shops.dat and look for item IDs that are there, easy to find it once you know the item ids....
01/19/2015 17:59 pro4never#5
Quote:
Originally Posted by mujake View Post
You should really just check shops.dat and look for item IDs that are there, easy to find it once you know the item ids....
CP shops in recent patches are in emoneyshop.dat which is why I suggested it :P

He could also breakpoint his buy item code and check what shop ID the client was buying from and then match it up in the client files.
01/19/2015 19:27 mujake#6
Damn, been so long since I tried those trinity and forgot about shop changing...anyway still you have to know what you are doing else they won't work.
Yup and the file in client must match the one in source else they won't work properly.
01/19/2015 21:27 pro4never#7
Quote:
Originally Posted by mujake View Post
Damn, been so long since I tried those trinity and forgot about shop changing...anyway still you have to know what you are doing else they won't work.
Yup and the file in client must match the one in source else they won't work properly.
The drawback to writing redux for like 4 different patches is all my tools have to end up supporting all the shitty changes TQ made to file structures lol.
01/20/2015 06:37 mujake#8
Well, in redux, even if i had to edit 1 shop, I thought making an NPC code for it was easier.
I remember going bonkers on my 5530 source while editing shopping mall and some other shops, I was getting so mad that edited any file that had shop in name, in source and client till it worked.
01/20/2015 18:27 pro4never#9
Quote:
Originally Posted by mujake View Post
Well, in redux, even if i had to edit 1 shop, I thought making an NPC code for it was easier.
I remember going bonkers on my 5530 source while editing shopping mall and some other shops, I was getting so mad that edited any file that had shop in name, in source and client till it worked.
x
01/20/2015 18:47 mujake#10
No way...that's the Holy Grail of Shop editing!
01/20/2015 23:04 turk55#11
Quote:
Originally Posted by mujake View Post
No way...that's the Holy Grail of Shop editing!
you know that it is very easy make right?
01/21/2015 06:21 mujake#12
For someone who knows what he's doing, for me is a bit difficult since i don't have the basics of programming.
01/21/2015 06:40 turk55#13
Quote:
Originally Posted by mujake View Post
For someone who knows what he's doing, for me is a bit difficult since i don't have the basics of programming.
But you still decide to run a public server.
01/21/2015 07:02 mujake#14
Well, most of the time I use related codes as reference and follow basic logic.This way I learned to create NPCs, add events and with the help of the epvp community I managed to
learn a lot of things and improve myself.
Also, you may have noticed that along time I had lots of attempts on creating an server or working on an source. Redux seems to be the best for me as I like the 5065 features and is quite stable for an small server.