[Question] About Python

08/18/2011 17:04 TheSyn#1
Ok so i am wanting to create my own npc. And i watched the tut on it.
But i am not to sure how to configure python 2.7.1 for shaiya.
Or if there is a different program to use instead of python like Castors or Zeros.
Was just curious if there was a tut or thread on it that i can't seem to find.
Or if anyone would be willing to make a quick post on it.

Any help would be appreciated. ;)
08/18/2011 19:23 viper4513#2
Use castors tool :)

Data > NPC > NpcQuest.SData
Open that up, you make your NPC's in that (select tab for what type of npc)
the rest in that screen should be pretty simple for you :)

Adding NPC to your maps.

Again using Castors tool, open your map file
SERVER > PSM_Client > Bin > Data > Map
Pick the map you want (example: 18 for the 15 pvp map)
Use the little drop down list, and find "NPC"

Now, looking back at your created NPC, find the Type and TypeID (type can be worked out by looking at the other npc's in your map (1 = merchant, 3 = blacksmith etc.)
TypeID is like your item code, click "add" to put your npc on the map list.

Next you need to get the co-ords from ingame to add your npc into the map.

log into your server, run where you want, press "h" to find your x,y,z co-ordinates.

insert those in the "position" bit for your npc on the map, click add then set.. and voila :)

If you need more help, just ask :)

Credits to Castor for his amazing tool, and i think he wrote a guide on adding npc's aswell somewhere... :P
08/18/2011 20:02 TheSyn#3
Yeah i knew i could add or change npc's like that.
What i want tho is to add a npc to the AH with items that i can't seem to get with castors tool.
Like conti's,move,summon,etain pots, and op's items that don't seem to come up with his tool.
And i watched the video tut on it i just don't know how to configure python.
08/18/2011 20:35 viper4513#4
Ahh i see, my bad.. tried making your npc a "liquid Merchant" ?? Those guys get to sell the 100 grade items :)

Hope that helps you

Or better yet, just had a look in my npc file.. use "Generic Merchant" they have all the items i think you're after :P
08/18/2011 22:59 castor4878#5
Quote:
Originally Posted by TheSyn View Post
What i want tho is to add a npc to the AH with items that i can't seem to get with castors tool.
not even [Only registered and activated users can see links. Click Here To Register...]?

Quote:
Originally Posted by TheSyn View Post
And i watched the video tut on it i just don't know how to configure python.
and what about how to use python ?... can be a bit harder that simply installing it.
08/19/2011 00:15 TheSyn#6
Ahh ok yeah didn't see this before thanks again for clarification. Also was wondering i got the merchant to work only 2 things i couldn't find to put in it. Was power/defense lapisa any way u know of how to add those?