Author Topic: Make the monster attack?  (Read 1875 times)

ctlmo5

  • Traveller
  • *
  • Posts: 35
    • View Profile
Make the monster attack?
« on: July 01, 2007, 06:24:13 pm »
I find out there have 3 monsters in database table "characters" - FAMILIAR:Roge, FAMILIAR:Clacker and FAMILIAR:Rat.
i set the  npc_spawn_rule to 1, so i can spawn after loadmap, and set the  loc_x  loc_y  loc_z.
Therefore i can see those monster in the NPCroom, but i can not attack them and they can not attack me.
Is it something have to set in the table "characters" to make the monster can be attacked?

can any one give me some hint?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Make the monster attack?
« Reply #1 on: July 01, 2007, 07:06:19 pm »
are you running the npcclient?

ctlmo5

  • Traveller
  • *
  • Posts: 35
    • View Profile
Re: Make the monster attack?
« Reply #2 on: July 02, 2007, 03:07:03 am »
are you running the npcclient?
NO i am running the psserver and psclient with the account "guest", and i only have npcclient.cfg.

*edit*

is it all the member in table "character" is player or npc?
so they are not able to be attacked?

if yes, which table connect the monster? so should i change the source code?
« Last Edit: July 02, 2007, 05:31:20 am by neko kyouran »

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Make the monster attack?
« Reply #3 on: July 02, 2007, 11:47:54 am »
you need to run the npcclient as well that is what makes the npcs attackable.

ctlmo5

  • Traveller
  • *
  • Posts: 35
    • View Profile
Re: Make the monster attack?
« Reply #4 on: July 02, 2007, 11:51:12 am »
you need to run the npcclient as well that is what makes the npcs attackable.

What you mean run it?
Is it the same way i run the psclient.exe or ./psclient?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Make the monster attack?
« Reply #5 on: July 02, 2007, 12:02:22 pm »
you need to run the npcclient as well that is what makes the npcs attackable.

What you mean run it?
Is it the same way i run the psclient.exe or ./psclient?

Well that depends on what OS you have as you have not posted that i cant say what way to use to start it.

ctlmo5

  • Traveller
  • *
  • Posts: 35
    • View Profile
Re: Make the monster attack?
« Reply #6 on: July 02, 2007, 12:08:09 pm »
you need to run the npcclient as well that is what makes the npcs attackable.

What you mean run it?
Is it the same way i run the psclient.exe or ./psclient?

Well that depends on what OS you have as you have not posted that i cant say what way to use to start it.

i am using mac and windows xp, i build PS on both of the OS, in my PS i only have npcclient.cfg so i have to "build" the npcclient?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Make the monster attack?
« Reply #7 on: July 02, 2007, 12:17:01 pm »
You can try to jam psnpcclient and see if that helps

ctlmo5

  • Traveller
  • *
  • Posts: 35
    • View Profile
Re: Make the monster attack?
« Reply #8 on: July 02, 2007, 12:18:08 pm »
You can try to jam psnpcclient and see if that helps

I know
the npcclient is already build, it is call psnpcclient
Thx

Ralleyon

  • Hydlaa Citizen
  • *
  • Posts: 304
  • Protector in the Survivors of Vaern
    • View Profile
Re: Make the monster attack?
« Reply #9 on: July 06, 2007, 11:37:11 am »
The npcclient controls NPC's and their movement/actions/responses. So in order to see them do something other than "talk" which is scripted in the DB you have to run that as well.

Be careful, start psserver first then psnpcclient
To see the world in a grain of sand
And Heaven in a wild flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
     
   [William Blake - Auguries of Innocence]