Author Topic: How to teleport a player to another server instance?  (Read 373 times)

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to teleport a player to another server instance?
« on: March 04, 2015, 05:56:25 am »


               

Example: 


 


I started 2 servers


 


1) 123.456.789:5121


2) 123.456.789:5122


 


I would like to jump the player from ip:5121 to ip:5122 is possible?


 


Thanks you



               
               

               
            

Legacy_xa0t3k

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
How to teleport a player to another server instance?
« Reply #1 on: March 04, 2015, 09:07:15 am »


               

http://www.nwnlexico...=ActivatePortal



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to teleport a player to another server instance?
« Reply #2 on: March 04, 2015, 07:53:10 pm »


               

Many thanks...  '<img'>



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to teleport a player to another server instance?
« Reply #3 on: March 04, 2015, 08:05:56 pm »


               

How to get my server IP in nwscript?



               
               

               
            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
How to teleport a player to another server instance?
« Reply #4 on: March 04, 2015, 08:21:02 pm »


               


How to get my server IP in nwscript?




 


GetPCIPAddress()


               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to teleport a player to another server instance?
« Reply #5 on: March 05, 2015, 01:55:18 am »


               


GetPCIPAddress()




 


Are you refering to object oMod = GetModule(); string sIP = GetPCIPAddress(oMod)?


               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
How to teleport a player to another server instance?
« Reply #6 on: March 05, 2015, 02:30:50 am »


               


How to get my server IP in nwscript?




i dont think you can you need to write it manually


               
               

               
            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
How to teleport a player to another server instance?
« Reply #7 on: March 05, 2015, 12:19:12 pm »


               


Are you refering to object oMod = GetModule(); string sIP = GetPCIPAddress(oMod)?




 


I see what you mean now, GetPCIPAddress() returns the IP of the logging player only. I have checked several nwnx plugins(Windows) but found nothing about server IP. Like Shadooow said, must be written manually.


 


 


Kato