Private Server Info and Support Thread

10/18/2015 17:31 Darkness-Angel#2191
hey all,

firstly how comes half the posts here are missing yesterday i see pages 215 now they gone,

secondly I have a little issue my files i have (slightly edited) have all of a sudden refuses to load spacemap even though my emulator says users connected 1(ME) but still no dice it just keeps saying establishing connection all i have changed in maps.php is the server url to 127.0.0.1 localhost and even tried a separate computer to connect and still nothing I have tried brand new db, emulator and files (redownloaded) I know i have it setup correctly because I was able to connect to the emulator yesterday then all of a sudden map dont load can someone help because this is a bit confusing the spacemap just shows the green bar for ages but nothing


Please help
10/18/2015 21:10 69robbyITA#2192
Hi guys,
me and my friends are at work for a new pve server.
Soon we put it online but we have only 1 problems.
If players experience is > 2.000.000.000 he can t log in map.
I m sure is a emulator problem, but i don t understand what is parameter for exp.

Thanks all for help.

King Regard
Robby
10/18/2015 21:34 S7K Yuuki#2193
Quote:
Originally Posted by 69robbyITA View Post
Hi guys,
me and my friends are at work for a new pve server.
Soon we put it online but we have only 1 problems.
If players experience is > 2.000.000.000 he can t log in map.
I m sure is a emulator problem, but i don t understand what is parameter for exp.

Thanks all for help.

King Regard
Robby
Assuming that int is 4 bytes (and I guess that you're using int to store the experience) the max range of that variable is 2,147,483,647.
You have 2 options, make it unsigned to double its range or change the experience variable from int to long.

https://en.wikipedia.org/wiki/Primitive_data_type

Regards.-
10/18/2015 22:34 69robbyITA#2194
Quote:
Originally Posted by S7K Yuuki View Post
Assuming that int is 4 bytes (and I guess that you're using int to store the experience) the max range of that variable is 2,147,483,647.
You have 2 options, make it unsigned to double its range or change the experience variable from int to long.

https://en.wikipedia.org/wiki/Primitive_data_type

Regards.-
thanks for help, but in database the variable is bigint(255) so a lot of billions.
If I change Convert.ToInt32 in emulator it s says error. So i don t know what variable i need to change.

King Regard
10/18/2015 23:19 MS-Colder#2195
i have a error xajaxurl corrupted when i open my maprevolution
10/18/2015 23:20 olitis1#2196
Quote:
Originally Posted by 69robbyITA View Post
thanks for help, but in database the variable is bigint(255) so a lot of billions.
If I change Convert.ToInt32 in emulator it s says error. So i don t know what variable i need to change.

King Regard
You must change it to Int64 (long)
10/19/2015 03:54 MS-Colder#2197
how put npc in map because npc are already in my DB
10/19/2015 11:47 steppdroid#2198
Quote:
Hi all, How send Cloack CpuXl with this packet?
Code:
"0|A|ITM|0|0|0|0|" + Extras["RepBot"] + "|0|0|" + Program.ToEnum(Extras.ContainsKey("Smb")) + "|" +Program.ToEnum(Extras.ContainsKey("Ish")) + "|0|0|" +Program.ToEnum(Extras.ContainsKey("Arol")) + "|0|0|0|0|0"
Thank Steve!
SLOVED!
10/19/2015 18:33 Darkness-Angel#2199
Quote:
Originally Posted by MS-Colder View Post
how put npc in map because npc are already in my DB
On the maps table of the database you'll see a section named NPCS in that section use the following code with the ship id from the ships table

Code:
[{"NpcId":1,"Count":20}]
pretty easy to do (trial and error)


Suggestion: I suggest (from experience) to have the maps table in one browser tab and the ships in another tab and just add the Ship as npc and then try it out in the spacemap it what I was doing till my server sudden died rofl (well not open map) but any other help I can give message me here or even PM me and I'll reply as soon as possible


Regards

Darkness
10/19/2015 22:27 MS-Colder#2200
thank yoou but in my map they are already npc id and all but npc dont show on map

in my cms its version 1.0 i need the cms 2.5 please for equipment system
10/20/2015 00:01 manulaiko3.0#2201
Quote:
Originally Posted by MS-Colder View Post
thank yoou but in my map they are already npc id and all but npc dont show on map

in my cms its version 1.0 i need the cms 2.5 please for equipment system
Do you send the ShipCreate packet?
10/20/2015 00:49 MS-Colder#2202
Quote:
Originally Posted by manulaiko3.0 View Post
Do you send the ShipCreate packet?
what i dont know but i need the new version 2.5 because my version dont have equipment system on and the new version 2.5 they are the fix and feature i dont have and i need it please ans my emu is darkemulator v1
10/20/2015 00:52 Requi#2203
Quote:
Originally Posted by MS-Colder View Post
what i dont know but i need the new version 2.5 because my version dont have equipment system on and the new version 2.5 they are the fix and feature i dont have and i need it please ans my emu is darkemulator v1
ever just tried doing something by yourself? just tried?
10/20/2015 01:00 MS-Colder#2204
all i make myself this serverr and version have many bug i fix myself and now im lost i try almost all i know so help me requi to get the new version for my server ..
10/20/2015 03:13 -Real-#2205
Quote:
all i make myself this serverr and version have many bug i fix myself and now im lost i try almost all i know so help me requi to get the new version for my server ..
Make your own CMS then you wont be so "lost"