[RELEASE] BOI Server Files + Server Tools + GM tools

07/23/2012 10:39 kardathalopod#436
Quote:
I Got everything Working ,, but i log in , i have no realms there why is that
No realms means /gameserver/line.exe hasn't fully loaded or isn't connecting properly I'm pretty sure.


First, download OpenOffice to correctly view and edit .slk.

To fix going to jail, in /gameserver/slk/LMelimit.slk change all values in "Max Daily Coin Gain" column to 4000000000, all values in column "Max Daily EXP Gain" to 922337203685478, and all values in "Daily Maximum Deity Limit" to 4000000000.

Quick, amusing note on editing .slks, it is possible to crash the client with some server side changes. Increasing maximum boost level above 10 without client mods for example. So make sure to test changes before pushing them to players. :p

To unstuck quickly you can put this command into a .sh or .bat, depending on where you want to run it from:
mysql -u (username) -p(password) -e 'UPDATE 'shengui'.'basetab_sg' SET 'MapID'=2,'PosX'=150,'PosY'=150 WHERE 'MapID'=(put jail's map id here, i forget what it is);'

You'll need to add a host location to that statement if you're not running from the linux box. Should never get sent to jail once you modify the money, exp, deity per day limits.

TextPad is much much better for editing the .s script files than notepad. Many things can be changed there. Things that I've done successfully so far with the scripts include removing and increasing daily limits, realm requirements, deity requirements, etc for all instances, making deity items give different values of deity and usable more times per day, changing pack rates and creating new packs. Many many customization options here.

As far as getting items to show up in marketplace, haven't figured that out yet. Also haven't really messed with it much beyond an initial test.

Still haven't found an option to make the server use mssql account data instead of password 123. Did create a basic statement that should (assuming I've got the format correct for password encryption) insert account data properly however. It isn't ready for public use, no check for duplicate account names (Why is name column not unique by default?) but for testing locally it's fine.

--note for @ID, if you don't have at least one account created in dbo.account and dbo.users set @ID to =0 instead of allowing it to calculate the next ID.
DECLARE @ID INT;
DECLARE @ACCOUNTNAME CHAR(16) = 'insertaccountname';
DECLARE @PASSWORD CHAR(16) = 'insertpassword';
--unsure of values for usertype, guessing 0 is user, 1+ are gms
DECLARE @USERTYPE INT = insertaccountpermissionlevel;
DECLARE @HASHME NVARCHAR(4000);
DECLARE @DATE DATETIME = GETDATE();

SELECT @ID = MAX(id) FROM dbo.account;
SELECT @ID = @ID + 1;
SELECT @HASHME = @ACCOUNTNAME+@PASSWORD;
SELECT @HASHME = HASHBYTES('MD5', @HASHME);
INSERT INTO dbo.account (id,name,passwd,creatime,usertype) VALUES (@ID,@ACCOUNTNAME,CONVERT(binary(16),@HASHME),@DAT E,@USERTYPE);
INSERT INTO dbo.users (id,prompt,answer,name,idnumber,email,passwd2) VALUES (@ID,0,0,@ACCOUNTNAME,@ID,'[Only registered and activated users can see links. Click Here To Register...]',CONVER T(binary(16),@HASHME));

Feedback on whether that's entering the password in the proper format or not would be useful. An account name of "testing" with the password "password" outputs a passwd value of 0x59460574B564A13AD1A2A816A5918E08.
07/23/2012 11:52 axelcro#437
Quote:
Originally Posted by kardathalopod View Post
No realms means /gameserver/line.exe hasn't fully loaded or isn't connecting properly I'm pretty sure.


First, download OpenOffice to correctly view and edit .slk.

To fix going to jail, in /gameserver/slk/LMelimit.slk change all values in "Max Daily Coin Gain" column to 4000000000, all values in column "Max Daily EXP Gain" to 922337203685478, and all values in "Daily Maximum Deity Limit" to 4000000000.

Quick, amusing note on editing .slks, it is possible to crash the client with some server side changes. Increasing maximum boost level above 10 without client mods for example. So make sure to test changes before pushing them to players. :p

To unstuck quickly you can put this command into a .sh or .bat, depending on where you want to run it from:
mysql -u (username) -p(password) -e 'UPDATE 'shengui'.'basetab_sg' SET 'MapID'=2,'PosX'=150,'PosY'=150 WHERE 'MapID'=(put jail's map id here, i forget what it is);'

You'll need to add a host location to that statement if you're not running from the linux box. Should never get sent to jail once you modify the money, exp, deity per day limits.

TextPad is much much better for editing the .s script files than notepad. Many things can be changed there. Things that I've done successfully so far with the scripts include removing and increasing daily limits, realm requirements, deity requirements, etc for all instances, making deity items give different values of deity and usable more times per day, changing pack rates and creating new packs. Many many customization options here.

As far as getting items to show up in marketplace, haven't figured that out yet. Also haven't really messed with it much beyond an initial test.

Still haven't found an option to make the server use mssql account data instead of password 123. Did create a basic statement that should (assuming I've got the format correct for password encryption) insert account data properly however. It isn't ready for public use, no check for duplicate account names (Why is name column not unique by default?) but for testing locally it's fine.

--note for @ID, if you don't have at least one account created in dbo.account and dbo.users set @ID to =0 instead of allowing it to calculate the next ID.
DECLARE @ID INT;
DECLARE @ACCOUNTNAME CHAR(16) = 'insertaccountname';
DECLARE @PASSWORD CHAR(16) = 'insertpassword';
--unsure of values for usertype, guessing 0 is user, 1+ are gms
DECLARE @USERTYPE INT = insertaccountpermissionlevel;
DECLARE @HASHME NVARCHAR(4000);
DECLARE @DATE DATETIME = GETDATE();

SELECT @ID = MAX(id) FROM dbo.account;
SELECT @ID = @ID + 1;
SELECT @HASHME = @ACCOUNTNAME+@PASSWORD;
SELECT @HASHME = HASHBYTES('MD5', @HASHME);
INSERT INTO dbo.account (id,name,passwd,creatime,usertype) VALUES (@ID,@ACCOUNTNAME,CONVERT(binary(16),@HASHME),@DAT E,@USERTYPE);
INSERT INTO dbo.users (id,prompt,answer,name,idnumber,email,passwd2) VALUES (@ID,0,0,@ACCOUNTNAME,@ID,'[Only registered and activated users can see links. Click Here To Register...]',CONVER T(binary(16),@HASHME));

Feedback on whether that's entering the password in the proper format or not would be useful. An account name of "testing" with the password "password" outputs a passwd value of 0x59460574B564A13AD1A2A816A5918E08.
That password will not work coz the format is 0.x $login $password. That's why i created a password generator.
07/23/2012 12:12 Death881#438
Thx axelcro, finally can i make my own server xD
07/23/2012 13:21 lpmike87#439
market success to change price become zero

but npc still dint change.. which one file for npc selling ?
07/23/2012 16:06 bilun4b2#440
How to add rider in marketplace, i added but only 6 rider in shop @@.

And how to open 8 Realm who can tell me please :(
07/23/2012 17:18 xtremecrazy#441
Quote:
Originally Posted by bilun4b2 View Post
How to add rider in marketplace, i added but only 6 rider in shop @@.

And how to open 8 Realm who can tell me please :(

only realm 8 or realm 1 2 3 etc ?
07/23/2012 18:00 bilun4b2#442
Quote:
Originally Posted by xtremecrazy View Post
only realm 8 or realm 1 2 3 etc ?
All realm man, i want test all event, realm 1 2 3 4 5 6 7 8.
07/23/2012 19:18 Bingo2008#443
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
07/23/2012 19:21 xtremecrazy#444
stupid pet edit :)
07/23/2012 19:21 Bingo2008#445
Just a preview :D
07/23/2012 20:20 catalixxx#446
No one is opening a new server?Only EVO dominating?
07/23/2012 21:03 kardathalopod#447
Alright axel. Is it even testing against the account (or users) table on login? I've tried inserting 0x+account+pw md5'd, 0x+(account+pw md5'd), just account+pw md5'd, .. possibly a couple other variations too, I don't remember. All of them throw an invalid password error when trying to log in. As near as I can tell from your register script, it should be 0x+(account+pw md5'd) but that's not working.

Looking at your column names for users, you seem to have different columns...
(id, birthday, truename, prompt, answer, name, idnumber, email, gender, passwd, passwd2)
vs
(id,prompt,answer,name,idnumber,email,mobilenumber ,province,city,phonenumber,address,postalcode,gend er,birthday,qq,passwd2)
Why are our PassportBOI DBs different?
07/23/2012 22:11 janme00#448
Few Questions,

does it really need Windows and Linux? :confused:
at anyrate, how is the development process doing?


NOTE : This are just some questions, if answered I may look for a team for this and help us to further more develop and make a smooth working server files for US ALL. thanks **atleast me and my group can make a fund for a qualified team to help us**

Hoping that axelcro, xtreme and those who made their servers run will reply, hit me up a pm. :)

Thanks Again for this wonderful breakthrough.
07/23/2012 22:27 Krozo#449
Quote:
Originally Posted by janme00 View Post
Few Questions,

does it really need Windows and Linux? :confused:
at anyrate, how is the development process doing?


NOTE : This are just some questions, if answered I may look for a team for this and help us to further more develop and make a smooth working server files for US ALL. thanks **atleast me and my group can make a fund for a qualified team to help us**

Hoping that axelcro, xtreme and those who made their servers run will reply, hit me up a pm. :)

Thanks Again for this wonderful breakthrough.
Yes it does need Windows and Linux OS since they are connected and some files are needed to be run in Linux.
07/23/2012 23:05 janme00#450
alright. that clarifies my first question. and how about the second? i am really interesyed with this and i have been looking for this for months..


Posted from elitepvpers.com App for Android