what am I doing wrong
![]()
Live Map [Abandoned]
Discussion in 'Plugin Support' started by Reneb, Jan 12, 2015.
-
-
-
[DOUBLEPOST=1421188437][/DOUBLEPOST]Yup, works 100% now. totally my error (as my 1st statement says, user error.) haha. -
Seems if i leave the browsers it comes right after awhile.
Still doesnt seem to display players.
These settings look ok?
-
Cordinate not work, always have the some probleme
http://gyazo.com/1e23a491b662bda29190a70e5287cde2Last edited by a moderator: Jan 13, 2015 -
RCON PORT IS NOT THE QUERY PORT --'
QueryPort = ServerPort+1
so if your server port is 28015 the query port is 28016
BUT THAT IS NOT THE RCON PORT!!
the rcon port you've set it inside your start options: +rcon.port XXXX +rcon.ip XXXXXX +rcon.password XXXX
that's what the rcon port is.
Prawl and rafik you both have a wrong rcon port. -
This is really weird.
I just pulled this from my commandline: +rcon.ip 119.252.190.251 +rcon.port 49036 -
the cordinate not work i changed the rcon to 28017 but nothing
look http://gyazo.com/a9b886521b2091661ce3678fb1adffb0 -
did you put the correct map with the correct worldsize?
-
For those of you who were asking for a Tutorial on how to get this running, here's a quick one for ya. If Reneb or Oxide admin want to remove this, please feel free, won't be offended. Just trying to help.
You will need to download 2 plugins to get this to work. Renebs LiveMaps, and Dcodes Rust Map.
http://i.imgur.com/RsGJJ2G.jpg
http://i.imgur.com/hSzhaL4.jpg
**Please note, that the "Rust Map" DLL's will most likely need to be installed by your GSP, unless your GSP allows you access to install/view DLL's on your server.
There are 2 DLL files in the "RustMap" zip that need to be placed in your "\RustDedicated_Data\Managed\" folder. Please view DCodes plugin for instructions on how to use his Mod.
http://oxidemod.org/resources/rust-map.768/
With Renebs LiveMaps, you will need to install the Plugin into the Plugins folder in Oxide on your game server.
http://i.imgur.com/hSKWFUh.jpg
You will also need a Web Server (a Website, not the same as your Game Server) to host the webpage for this plugin. When you extract LiveMaps, you will have a "WEBSITE" folder. Rename that folder to "rustmap", and zip it up. Now upload that zip file to the root of your website, and extract it so there is now a "rustmap" folder in the root of your WebServer.
http://i.imgur.com/Xlqpp9Y.jpg
Inside of that folder, there is a "config.php" file. Edit that, and enter in your information. (You can find the rcon port/password in your command line on your server)
http://i.imgur.com/gPy7OJj.jpg
http://i.imgur.com/YGR5vOd.jpg
Make sure that "mapimage_path" is the name of the Image that you have extracted using DCodes "Rust Map" plugin. I removed the "Procedural" from my map name, and have it just as "[email protected]". You do not need to remove the "Procedural" from the name, but make sure you add it to the "mapimage_path" if you leave it in the name, so the server knows what file to look for.
Also, the "key" is the password you want to use, or string you want to use to gain access to the Admin map from Live Map (this shows where players/animals/buildings are located on map. Make sure this isn't something easy to figure out, as you don't want players viewing this information on your server)
Now go to the "Image" folder on your Web Server, and upload the "png" file that you created using "Rust Map"
http://i.imgur.com/uIJOjDV.jpg
Now that you have finished all of that, start your server up, then simply go to the URL directory of your index.php on your Web Server
http://whateveryouraddressis.com/rustmap/index.php (to view regular map)
http://whateveryouraddressis.com/rustmap/index.php?key=YOURKEYTHATYOUMADEFORYOURSERVER
If you are unable to view your map after these instructions, it may be something on your game server side that is inhibiting this from happening. You will need to speak to them about it.
Have fun, enjoy!
[DOUBLEPOST=1421193118][/DOUBLEPOST] -
worldsize in my server is 4000
-
then do the [email protected]
-
woops hahaha! i forgot to change those back once i did a fresh install of the map on the website.
Hmm still cant seem to get this to work. This is my command line
-batchmode +server.hostname "AUSNZRUST |OXIDE|KITS|5X GATHER|INSTACRAFT|ACTIVE ADMINS| " +server.ip 119.252.190.251 +server.port 49035 +server.maxplayers 50 -server.globalchat true +server.seed 1178550702 +server.saveinterval 300 -server.worldsize 6000 +rcon.ip 119.252.190.251 +rcon.port 49036 +rcon.password " " -load -
you can't use 49036 as rcon port, it's already used as the query port.
use 49037 -
My page doesnt show PLAYERS, SLEEPERS, NPC and BUILDINGS...
Meehh just found that I had a issue downloading the new files...
[DOUBLEPOST=1421198922][/DOUBLEPOST]Here are my thoughs and a Issue that I need to report:
Simple to config! Working like a charm! If you have a WorldSize of 8000 set at your server start for example, the world size in the config.php file should be 4000, i.e. half the size of your server.worldsize.
I found only 1 issue in your RustMap JS Reneb, you need to change server_worldsize/2 from the PosX and PosY calcs to server_worldsize only, that way the coords will appear correctly in the Head of the page
[DOUBLEPOST=1421199105][/DOUBLEPOST]Forget what I said about removing the /2 from server_worldsize calc, we need to find another way to show the correct coordinates.
This what I changed to show the coordinates correctly:
Code:var nPosX = Math.ceil(((pos_x)*server_worldsize/100 - (server_worldsize/2)) * 2); var nPosY = Math.ceil(((pos_y)*-server_worldsize/100 + (server_worldsize/2)) * 2);
Last edited by a moderator: Jan 14, 2015 -
[DOUBLEPOST=1421205822][/DOUBLEPOST]Have changed the port to 49037 but sadly it still freezes and crashes the browser within about 10 seconds. -
prawln, can you show us a screen shot of your command line, and your config again for the plugin?
-
Hey Mack7n,
So my command line is:
Code:-batchmode +server.hostname "AUSNZRUST |OXIDE|KITS|5X GATHER|INSTACRAFT|ACTIVE ADMINS| " +server.ip 119.252.190.251 +server.port 49035 +server.maxplayers 50 -server.globalchat true +server.identity "Streamline" +server.seed 0 +server.saveinterval 300 -server.worldsize 6000 +rcon.ip 119.252.190.251 +rcon.port 49037 +rcon.password " " -load
Code:<?php // ------------------------------ // PLEASE CONFIGURE HERE YOUR MAP ?> <script language="javascript" type="text/javascript"> <!-- var server_seed = 1178550702; var server_worldsize = 6000; //--> </script> <?php $key = " "; $mapimage_path = "img/[email protected]"; $server_ip = "119.252.190.251"; $server_port = "49035"; $server_rcon_ip = "119.252.190.251"; $server_rcon_port = "49037"; $server_rcon_password = " "; // END OF CONFIGURATIONS // ------------------------------ ?>
-
What's the name of the map img file? In your image folder on your website.