PlaneShift
Development => Development Deliberation => Topic started by: owen_a on December 04, 2010, 11:46:07 am
-
Hi all!
Note: Sorry that I have not been around lately. I've been ill :(
Now for my question.
I was playing world of warcraft, and I've noticed that all the time theres creatures just wandering about near paths. So what I was thinking, could this be done in planeshift?
So If I were to go up to one of them, I could attack them and earn XP.
If this is possible, could someone tell me how I could acheive this?
Thanks! :)
-
being able to kill creatures just needs to set them not impervious and have an npcclient running.
for them wandering in paths you need to make a path network and script them to use it in npcbehave.xml
-
That reminds me on Bug #2669 (http://hydlaaplaza.com/flyspray/index.php?do=details&task_id=2669) (which is reported to be fixed): NPCs on a walking path once used to take that path so serious that they returned to walking it just after a short battle.
-
being able to kill creatures just needs to set them not impervious and have an npcclient running.
for them wandering in paths you need to make a path network and script them to use it in npcbehave.xml
not exactly. you can make them "wander around" (i.e. not going to any target, but walking a bit), too.
iirc there's some example for it in the svn NPC behaviours, too
-
I've took the 'Fighter1' from the NPC room and put on the map "ojaroad1".
Everytime I try and attack it, I never do any damage to it, and it does not fight back. Any ideas?
-
Right.
Before I mention anything I would like to say I'm getting annoyed in Mirc that no one is really active. Theres about 20 people in the channel, and only 1-2 people are active? :/
--------------------------------------------------------------------------------------------------------
now to say, that someone did say something about "psnpcclient". I've tried my best at configuring it, but since I cant find no tutorial (Suprise) I cant get any help.
Now I'm posting it in here hoping someone might actually help me.
Heres my config (only important parts)
Planeshift.NPCClient.host = localhost
Planeshift.NPCClient.userid = superclient
Planeshift.NPCClient.password = superclient
Planeshift.NPCClient.port = 13331
Planeshift.Database.npchost = localhost
Planeshift.Database.npcuserid = root
Planeshift.Database.npcpassword = test
Planeshift.Database.npcname = planeshift
I'm presuming .Database is the MySQL details so I've entered my credentials on there. I have no idea what .NPCClient is so I left that asit was. Now for my problem.
Everytime I load up the PSNPCClient.exe It closes after 2 seconds, after alot of messages. These messages (I think) are the same from when the server loads about logs. but then it closes.
Any Ideas?
-
Could you paste the output? It took an eternity to work correctly when I tried it some time ago, but it didn't crash.
-
How do I get the output? It immediately closes. Unless theres a text file somewere? :whistling:
-
I've managed to take a photo before it closes.
http://www.filefront.com/17609118/Problem.bmp
-
looks like you miss that table
-
Which table? It kinda confuses me its output.
-
What is confusing about the output in the second-last line?
Table 'planeshift.sc_tribe_resources' doesn't exist
-
Well, planeshift.sc_tribe_resources
Planeshift must be the database?
and... sc_tribe_resources must be the table i'm missing?
-
Ah. It doesnt matter, I just used the .sql file from the SVN. Now when I run PSNPCClient, it connectsand works, but what is this all about? ::
http://www.filefront.com/17614174/ProblemsPSNPCClient.JPG
It crashes, Seems to be that yellow text. By the way I copied the whole ART folder from the client, so I'm using the orginal art.
-
those are data errors in the art and are normal your problem can be found only with a debugger