Author Topic: Need some help on playing the game on my own planeshift server.  (Read 3277 times)

wli34633

  • Traveller
  • *
  • Posts: 13
    • View Profile
Hello,

I had the planeshift client and server built on window XP and they are both running fine. I have loaded all the maps also. I am able to add new users and doing most of the database stuff on MYSQL. I am able to go to different regions by using the command "teleport". However, when a new user logon and start the game, it always go the NPCroom frist and from there I have a hard time finding a way to go to any other regions. My questions are the following:

- Is the open source server code supposed to do just that at this stage?
- I also started the game in the official laanx server and you start differently in a different map. Is that a way to download the source code that is running the laanx server?
- How do I get out of the NPCroom (if there is a way) and go to a different sector/region/map?
- How do I start from a different map (other than NPCroom) as a new user? Is there any rule to control that (based on your character, etc)?
- Do I have to add codes myself for more quests, weapons, monsters and other stuff?
- Do you play the game differently with your own planeshift server?

Thanks in advance.
 

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #1 on: June 27, 2006, 05:28:44 pm »
Quote
I am able to go to different regions by using the command "teleport".

Quote
How do I get out of the NPCroom (if there is a way) and go to a different sector/region/map?

You kinda contradict yourself there.

But with latest CVS teleporting is broken anyway.

Quote
- How do I start from a different map (other than NPCroom) as a new user? Is there any rule to control that (based on your character, etc)?
- Do I have to add codes myself for more quests, weapons, monsters and other stuff?
You have to edit the database.

Quote
- I also started the game in the official laanx server and you start differently in a different map. Is that a way to download the source code that is running the laanx server?
You have that code, only thing different about laanx is the database.

edit: Bah, AryHann said the same while I was editing  :'(
« Last Edit: June 27, 2006, 05:31:59 pm by ThomPhoenix »
We're not evil. We're simply amazing.

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #2 on: June 27, 2006, 05:30:32 pm »
Hi,

the "open source" server code is not different from the one used on Laanx. The difference resides in the database.
The position from which the new character starts depends from the race. If I remember right there is a race_info table where you get the start sector id and start sector coordinates.
The only way to go out from NPCroom is to use the teleport command.

You have to add the scripts in the db yourself for more quests and weapons and everything. For new weapons you need eventually also new models and such.

I think you can't play so much on your own PS server. What you can do is playing ... alone!
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #3 on: June 27, 2006, 05:32:08 pm »
(bah... I was too slow... I'll post anyway... :P )

You're not going to be "playing" the game on your own server.  You don't have the majority of the game data/content, and even if you did we don't want other's hosting other servers using our content.  (and single player would be downright stupid ;) )  If you want to add anything, yes, you'd have to design the whole thing yourself.  The engine is open-source and free to use, however our art/content is free to use when connecting to our server and to test, but you're not allowed to make your own game with it.  You can make your own game using our engine/codebase, however that's a massive undertaking.  (many people with years of work; you don't make a game overnight, and we're not even done...)

For starting position, accounts from CVS DB start in the NPCroom.  (on all servers, death in the NPCroom respawns there instead of the DR to make testing quicker)  Laanx has different spawn points setup for races, all in the race_info DB table.  (CVS DB contains test and demo data only)

To get out of the NPCroom, the only method is the GM command /teleport.  (obviously requiring a GM character; use vengeance or guest, but not acraig)  For now, you'll need to go by coordinates:  "/teleport me map hydlaa_plaza 0 100 0"  Starting positions for maps seem to be broken with latest CS.

::  PlaneShift Team Programmer  ::

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #4 on: June 27, 2006, 05:32:59 pm »
Remember lastest CVS is bugged, so you can not teleport out of npcroom!

edit: Dave, are you sure you can transport with coordinates? I tried that and I crashed upon loading Hydlaa, I used hydlaa_plaza 3 -34 12 or something like that, the coordinates in the /help window.
« Last Edit: June 27, 2006, 05:35:26 pm by ThomPhoenix »
We're not evil. We're simply amazing.

Syilph

  • Hydlaa Citizen
  • *
  • Posts: 257
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #5 on: June 27, 2006, 05:33:15 pm »
The sourcecode for the server availeble for download is complete, but the DB isn't, meanning that it lacks alot of items, npcs, quests, etc.
To make your actor spawn in a different place than NPCroom you'll have to modify some things in the database. The NPCroom has no normal "exit" and the only way to get out from there is to teleport. And, yes, you have to add alot of stuff to the DB because the version that you downloaded is designed only for testing purposes, not for playing. What I do not understand is why in the world would you want to play a MMORPG by yourself. It would be like playing poker by yourself and yelling at you for cheating.

(bah... I was too slow... I'll post anyway... :P )
Same thing here ^^

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #6 on: June 27, 2006, 05:39:48 pm »
Remember lastest CVS is bugged, so you can not teleport out of npcroom!

edit: Dave, are you sure you can transport with coordinates? I tried that and I crashed upon loading Hydlaa, I used hydlaa_plaza 3 -34 12 or something like that, the coordinates in the /help window.
You shouldn't have any problems with getting out.  It's just the starting position for when not specifying coordinates that's not working.  Position (0,100,0) is above the Laanx temple, by the way.

::  PlaneShift Team Programmer  ::

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #7 on: June 27, 2006, 05:42:35 pm »
Tested again, coors 0 100 0 crash during load  ???
Am I doing something wrong?
I loaded hydlaa_common and hydlaa_plaza in psserver.
We're not evil. We're simply amazing.

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #8 on: June 27, 2006, 05:44:58 pm »
No, ThomPhoenix you are not doing anything wrong.
It is the code that has been infected by evil forces :-)
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #9 on: June 27, 2006, 05:49:41 pm »
Am I doing anything wrong or not?
I built from latest CVS, have loaded hydlaa_plaza, but cannot teleport there.
Is this a bug or not?
I can teleport an npc there though.
We're not evil. We're simply amazing.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #10 on: June 27, 2006, 06:06:37 pm »
An NPC doesn't really need the map. :P

Make sure you've loaded all the maps on the server, and you have the latest zoneinfo.xml in your data dir.  (not the CVS one)

It's always possible that you're getting some oddball system-specific crash, but enough people have been testing with latest and teleporting around at will that I think it's unlikely.  You're probably missing something in your setup.

::  PlaneShift Team Programmer  ::

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #11 on: June 27, 2006, 06:16:15 pm »
Quote
An NPC doesn't really need the map.
I figured that was the reason it didn't crash with an npc ;)

I'll try replacing the zoneinfo.xml

edit: Yay, worked! Maybe the guide should mention this!
Thanks Dave!
« Last Edit: June 27, 2006, 06:19:30 pm by ThomPhoenix »
We're not evil. We're simply amazing.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #12 on: June 27, 2006, 06:55:04 pm »
I changed it to mention copying the data dir from the package, just the other day.

::  PlaneShift Team Programmer  ::

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #13 on: June 27, 2006, 07:40:49 pm »
I can see, just yesterday!
* ThomPhoenix downloads the updated guide
We're not evil. We're simply amazing.

Lanarel

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 782
    • View Profile
Re: Need some help on playing the game on my own planeshift server.
« Reply #14 on: June 27, 2006, 10:56:02 pm »
@TomPhoenix: DaveG changed the guide after helping me teleport on IRC, while you were of changing directories ;)

* Lanarel goes back flying over hydlaa, now that the world looks still like this