Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all 25321 articles
Browse latest View live

How to create server on Linux

$
0
0
This guide uses Arch Linux, the Terminal, pacman, yaourt almost all the way. This is not for everyone, you need some understanding of your Linux!

There are 2 versions of SQL available on Linux: 2017 (evaluation - but it's for 64 bit apps only) and 2000. This guide will follow the installation of 2000 - the game can only be run 32 bits...

Installing SQL 2000 under wine:
Note for 64 bits systems: for any wine/winetricks related instruction to SQL server and your top server, you have to add this:
Code:

env WINEARCH=win32 WINEPREFIX=~/.wine32
This is because Winetricks prevents dotnet20sp2 from installing into a 64 bits prefix - it is 32 bits only! Examples:

Code:

env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks winxp
env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks dotnet20sp2
...
env WINEARCH=win32 WINEPREFIX=~/.wine32 wine MSDE2000A
...

First, to configure Wine to support SQL 2000, set it to win xp mode and install Net Framework 2.0 SP 2 and MDAC 2.8 (SP 2 is not needed but it is recommended):

Code:

winetricks winxp
winetricks dotnet20sp2
winetricks mdac28

Then, cd to folder where MSDE2000A.exe is and install it - Remember to use .wine32 folder instead of .wine to use the 32 bits prefix on a 64 bit system:

Code:

wine MSDE2000A.exe
wine ~/.wine/drive_c/MSDERelA/setup.exe DISABLEROLLBACK=1 BLANKSAPWD=1 DISABLENETWORKPROTOCOLS=0 SECURITYMODE=SQL

The installer will fail! When time out failures start appearing, do a ctrl+c to abort, then copy the remaining files over - - Remember to use .wine32 folder instead of .wine (on both parameters) to use the 32 bits prefix on a 64 bit system, and to use your user name instead of "myusername":
Code:

cp ~/.wine/drive_c/users/myusername/Temp/SqlSetup/Temp/*.* ~/.wine/drive_c/windows/system32/
Now installation is finished. Restart wine or computer (otherwise SQL service might not run). Then MSSQLSERVER service will start automatically when first running a program on wine on 32 bits prefix. You can also do the following to start it manually directly:

Code:

wine net start MSSQLSERVER
To start the program that controls the service, you can do the following:

Code:

wine "C:/Program Files/Microsoft SQL Server/80/Tools/Binn/sqlmangr.exe"
Sources:
MS-SQL Server on Linux? Yes, it works! - My *nix world
https://appdb.winehq.org/objectManag...sion&iId=11016

Before we continue, the dbs have to be in the same environment of the installed SQL server. That means, you are using the ~/.wine32/drive_c folder on 64 bits and ~/.wine/drive_c on 32 bits.


These folders are usually hidden, so you might need to unhide them first (you need to configure that in your system). Then unpack the db files to a folder inside that drive_c folder.

---

This guide will show how to setup SQuirreL SQL client. SQuirrel SQL and similar gui clients should be used for fully setup gui Linux environments and ease of use. This guide will assume you already installed the SQL server.


Setting up SQuirreL SQL client and connecting to server:
Installing:

Download it using yaourt:
Code:

yaourt -S squirrel-sql
After installing it, download MSSQL JDBC driver depending on the SQL version installed:
SQL 2017: version 6+: sqljdbc_6.0.8112.100_enu.tar.gz. Extract sqljdbc41.jar (enu/jre7 folder) if SQL client uses Java 7, or sqljdbc42.jar (enu/jre8 folder) if using Java 8.
SQL 2000: version 3.0: sqljdbc_3.0.1301.101_enu.tar.gz. Extract sqljdbc4.jar.


Setting up the SQL client:

Start the client, click the drivers tab on the left side of the window, then right click "Microsoft MSSQL Server JDBC Driver", then click modify.
Click "Extra Class Path" tab, then click "Add" button.

Now search for that file you just extracted. Then click "OK". On the bottom of window, you'll see "Driver class com.microsoft.sqlserver.jdbc.SQLServerDriver successfully registered for driver definition: Microsoft MSSQL Server JDBC Driver", that means it worked.
Now click the "Aliases" tab on left side of window. Then click the "+" sign button (create new alias).
Put any name, select "Microsoft MSSQL Server JDBC Driver". Now for the url, it's going to be like this:
Code:

jdbc:sqlserver://localhost:1433
localhost can be the ip of your SQL server, if not local, and the 1433 can be changed to another if you have another SQL 2000 instance running or are using another port for the SQL server.
The user name is sa, and:
SQL 2017: put the sa password given at installation.
SQL 2000: leave the pass blank.
Then click OK.

Connecting to SQL server:

Now start SQL server if not started yet:
SQL 2017: it already starts on system start.
SQL 2000: starts only if you manually run a wine command or run the SQL manager.
Then click "Aliases" tab again, select the connection you created, and click the Connect button.

To run SQL commands, there's a set of tabs: Objects, SQL, Hibernate, Monitor. Click the SQL tab. Now the torture will start. Type the commands in the SQL commands section and then click the first line, and click the "running guy" button. If you did any mistakes, red text is going to appear on the bottom.

SQL Commands:

Now continuing, this is the tricky part for those who don't know the SQL language (like me) - you gotta attach using the SQL language (specifically, TSQL for SQL 2000)! The scripts that follow will be the same in all and any SQL clients.

Attaching the databases (using SQL 2000 language):
Code:

EXEC sp_attach_db @dbname = 'dbname',
    @filename1 = 'dbpathfile.mdf',
    @filename2 = 'dbpathfile.ldf';

Where dbname is the name of db (either 'accountserver' or 'gamedb'), the dbpathfile.mdf is the path to the db .mdf file in wine, like 'C:\folder\db.mdf' and dbpathfile.ldf is the path to the db .ldf in wine too. So for example:

Code:

EXEC sp_attach_db @dbname = 'accountserver',
    @filename1 = 'C:\games\top-server-db\accountserver_data.mdf',
    @filename2 = 'C:\games\top-server-db\accountserver_log.ldf';
EXEC sp_attach_db @dbname = N'gamedb',
    @filename1 = N'C:\games\top-server-db\gamedb_data.mdf',
    @filename2 = N'C:\games\top-server-db\gamedb_log.ldf';

Creating SQL logins (using SQL 2000 language):

Now you have to create the logins needed by the server. Type in:
Code:

EXEC sp_addlogin 'account', 'pass', 'db';
For example:
Code:

EXEC sp_addlogin 'pko_account', 'Y87dc#$98', 'AccountServer';
EXEC sp_addlogin 'pko_game', 'Y87dc#$98', 'GameDB';

Assigning ownership of databases to a SQL login (using SQL 2000 language):

Of course, changing the account names/passwords depending on server file cfgs. Then add the users to the dbs as owners, by typing in:
Code:

USE db;
EXEC sp_adduser 'account', 'account', 'db_owner';

For example:
Code:

USE AccountServer;
EXEC sp_adduser 'pko_account', 'pko_account', 'db_owner';
USE GameDB;
EXEC sp_adduser 'pko_game', 'pko_game', 'db_owner

';

Creating in-game accounts:

Using one of the sql clients above, use the guide below:
Code:

USE AccountServer; INSERT INTO account_login (name, password) VALUES ('<Login>', '<PasswordMD5>') USE GameDB; INSERT INTO account (act_id, act_name, gm) VALUES ((SELECT MAX(act_id) + 1 FROM account), '<Login>', <GM-level>);
But just in case the forums get deleted for some reason, it's a good idea to keep a summary of it here - first part to create account, second part to make it gm or not:
USE AccountServer;
INSERT INTO account_login (name, password) VALUES ('<Login>', '<PasswordMD5>')

USE GameDB;
INSERT INTO account (act_id, act_name, gm) VALUES ((SELECT MAX(act_id) + 1 FROM account), '<Login>', <GM-level>);

Getting the server up and running:

Now you also need to unpack the server files to a folder in the:
SQL 2000: wine environment used by SQL server.
SQL 2017: anywhere as long as you own the folder. It doesn't matter which wine prefix you use either. Databases need to be in the certain folder specified in SQL 2017 guide part.

When you do, run them. Now, if you run gameserver, you might run into some errors that usually won't happen in Windows:

"Bad allocation" error: Your server is using too much memory. 32 bit programs can use at most 4 GB of memory, but on Linux, for some reason, it can't use that much. Maybe even 2 GB is too much. I'm still not sure how to fix this, but the workaround is to load less things into 1 game server. Running linux with just barebones installed might help (which you would usually do on a dedicated server).
"Access Violation" error on GateServer: Regular IP's put at IP key on [ToClient] will make this error to appear. You have to put a long and invalid string on that field. 1231234h25giftuihfi223 is good, hdf8duity357hruasdklhfj is good too. Anything is good, as long as it's not an IP and is long (maybe over 16 bytes long).

(EXTRA) Running client on Linux notes:

The client can run on a 64 bits prefix wine as well, and performance is like on Windows for me. There are some things to take note that are as follows:
It's best to install wine-staging-nine - it has patches that improve dx 9 games. I didn't test the client with it yet, but it should work. Configure it at winecfg at Staging tab.

Some private server launchers will require wine-mono to be installed. Net Framework 4.0 might work too (look here: https://wiki.archlinux.org/index.php..._Framework_4.0). When installing SQL 2000, mono gets uninstalled from that prefix. You might want to create another prefix just for that.

The flash bug on the server selection screen has the workaround which is on wine online database. But there's another workaround found by me which only applies to a Linux with borderless and titlebar-less window management - just move the window to the top-left corner until it snaps there. Now Flash will draw normally like on Windows.

Removed sections:


Quote:

Ignore this - this will stay here if Microsoft ever releases a 32 bit version of this or the game is made 64 bits... (or buy the bridge)
Installing SQL 2017:

More info on this new Microsoft development: https://docs.microsoft.com/en-us/sql/linux/
Yaourt or another AUR client is required to install it. These instructions use sudo or su for root priviledges, and follow yaourt usage:

yaourt -S mssql-server
sudo /opt/mssql/bin/mssql-conf setup
Then answer the following prompts:
Do you accept licence terms? "Yes"
Enter the SQL Server system administrator password: Type the password you would like the system admin to use. 8 chars long at least, with 3 of the 4 of the following: upper case letters, lower case letters, numbers, and symbols.
Confirm the SQL Server system administrator password: Same as above.
That's all - very simple!

Until you get to handle permissions on your db... then you'll get into the common Linux headache:

Permissions:
FIrst, you need to add yourself to mssql group:

sudo usermod -aG mssql myusername
Where username is the name of your user. This won't be enough to make SQL access the databases. To do that the files need to be owned by user mssql and group mssql, and also have make follow rights set for other dbs. The only way to do that is by moving all databases to /var/opt/mssql/data folder, and making sure the permissions as above are set. Here's the Terminal way to do it:


su #all following commands need root rights
Repeat the following for each database you have - remember upper/lower case matter on Linux:

#Copy database to mssql database folder
cp mydatabase.mdf /var/opt/mssql/data/mydatabase.mdf
cp mydatabase.ldf /var/opt/mssql/data/mydatabase.ldf

cd /var/opt/mssql/data

#Change user ownership to mssql
chown mssql mydatabase.mdf
chown mssql mydatabase.ldf

#Change group ownership to mssql
chgrp mssql mydatabase.mdf
chgrp mssql mydatabase.ldf

#Set the same rights as the other files in folder (in octal)
chmod 640 mydatabase.mdf
chmod 640 mydatabase.ldf
Then exit su block:

exit #Leaves su block
This process should allow all the dbs to be attached without any problems. Just remember the path to the files per database:

/var/opt/mssql/data/mydatabase.mdf
/var/opt/mssql/data/mydatabase.ldf
Quote:

Ignore this - mstools doesn't work on SQL 2000 servers or below.
Setting up mstools and connecting to server:
Run the follows:


yaourt -S mssql-tools
This will install sqlcmd and bcp. Then we need to connect to server:

sqlcmd -S localhost,1433 -U username -P sapassword
localhost can be the ip of your SQL server, if not local, and the 1433 can be changed to another if you have another SQL 2000 instance running or are using another port for the SQL server.
The user name is sa, and:
SQL 2017: put the sa password given at installation.
SQL 2000: leave the pass blank.
Then click OK.

Then an interactive prompt will show up. Type the sql commands as they are in the next section.

[Release] ZMMO SRC,Files etc

$
0
0
If some1 need something add me on skype :alvarothegood

Boss Kundun Time

$
0
0
Can someone know where i edit the Boss Kundun Respawn Time and what time to put if respawn every 10 seconds please .Thank you in Advance

CocoStory v83 || 50x 10x 5x || Rebirth || New Maps

$
0
0
CocoStory


Details:
Opening date: 21/06/2017
Version: 83
Channels: 5
Connection: VPS
REPACK Used: MapleSolaxia
Rates: 50x/10x/5x
Server Type: Rebirth

Website: CocoStory
Download: Download
Chat: Discord
Forum: Forum

Team:
Quack: Admin
WZ Editor: Naveh
GM: Wish
GM: Lack

CocoStory is a new private server, v83 which is based on rebirths.
It has new maps, so new JQs, new PQs, new Events, new training maps, new starting maps.
Its also has:
- new items like Special Beauty Coupons, Shield Scrolls, Item Slots scrolls, new surprise boxes, new super chaos scrolls
- new way to use commands, you can get while playing command tickets in different ways to unlock better commands.
- sand box, fishing system, auto events, gm events, new golden market map which you can put players shop, pq coins shop, jq points npc and a lot more.

Pictures:





































Would like to thank the people who helped me in the forum, specially to @Eric as he answered most of my questions regarding how to do stuff and learn, thank you. :P

Guys feel free to join CocoStory today! We will always feel happy to hear new suggestions.

How to activate Gens Quest in Season 6 Muemu Files?

$
0
0
Guys I tried to register/join it says "there's no available quest. Please come back later".

Code:

;==================================================
; Gens System Settings
;==================================================
GensSystemSwitch = 1
GensSystemGuildLock = 0
GensSystemPartyLock = 0
GensSystemInsertMinLevel = 0
GensSystemContributionFloodTime = 30
GensSystemVictimContributionDecrease = 3
GensSystemKillerContributionIncrease = 5
GensSystemVictimMinContributionDecrease = 1
GensSystemVictimMaxContributionDecrease = 15
GensSystemKillerMinContributionIncrease = 1
GensSystemKillerMaxContributionIncrease = 15
GensSystemStartRewardDay = 1
GensSystemFinalRewardDay = 7

OPEN Mu Machine - Hard Season 6 New Classic Server

$
0
0
Grand Opening 25.06.17 16H
Mu Online: # # # # # # # #- Registration receiving 5 DAYS OF VIP,
ENJOY!.Looking for a server with PvP excellence?
We have a stable gameplay and with QUALITY, come check it out!MU Machine will exceed your expectations!

- EXP: 40x / 50x
- EXP Master: 12x / 15x
- Rebirth: 5
- OFF ATTACK SYSTEM
- Auto RECONNECT SYSTEM
- Auto PARTY SYSTEM
- STORE JOIAS / WCOINS / GOBLIN POINTS
- INVASIONS CUSTOM SYSTEM (EXCLUSIVE HUNT COINS)
- TABELADA EXPERIENCE- HOT SPOTS- HUNT KALIMA 1 to 7!
- VALUED EVENTS!
- HUNT RAKLION

Are you waiting for what to REGISTER and DOWNLOAD MU Machine? More information on our website: Mu Machine - Hard
Time : M U M A C H I N E . N E T
<font size="4">

Grand Opening 25.06 16H Season 6 HARD

$
0
0
Grand Opening 25.06.17 16H
Mu Online: # # # # # # # #- Registration receiving 5 DAYS OF VIP,
ENJOY!.Looking for a server with PvP excellence?
We have a stable gameplay and with QUALITY, come check it out!MU Machine will exceed your expectations!

- EXP: 40x / 50x
- EXP Master: 12x / 15x
- Rebirth: 5
- OFF ATTACK SYSTEM
- Auto RECONNECT SYSTEM
- Auto PARTY SYSTEM
- STORE JOIAS / WCOINS / GOBLIN POINTS
- INVASIONS CUSTOM SYSTEM (EXCLUSIVE HUNT COINS)
- TABELADA EXPERIENCE- HOT SPOTS- HUNT KALIMA 1 to 7!
- VALUED EVENTS!
- HUNT RAKLION

Are you waiting for what to REGISTER and DOWNLOAD MU Machine? More information on our website: Mu Machine - Hard
Time : M U M A C H I N E . N E T


PLAYERUNKNOWN's Battlegrounds Lobby Client

$
0
0
Hi,

I spent some time figuring out how the Lobby of PUBG works. Its done using CoherentUI and a JavaScript file called app.js.

I was snipping the app.js file out, but since I am not that good at understanding the javascript syntax I dont really have a clue on what is happening there, only some simple things.

So if someone is interested in this file, download it below, I am very interested in creating a server emulator for this game...

There is much work to do... Emulating the lobby backend, and the gameserver is serializing the packets with a BitStream since the game is based on UE4.

All those things I dont have worked with yet, so I would need a lot of learning first, how UE4 works, how the packets work and so on... But if someone is interested, please add me on Telegram: Contact @Johmarjac
BTW: If I would start a game server emulator for this game, it will be in C#. I am not yet enough skilled C/C++ developer.
Best regards from Germany

DOWNLOAD

This is a man, a liar, so be careful! Fuck, bachelor all one's life

$
0
0
This is a man, a liar, so be careful! Fuck!bachelor all one's life!
Cheat me 100 dollars.



This is a man, RevolGaming
Don't be afraid to ask!

SubscriberRank
Jun 2012Join Date
1,494Posts

Battleships Blood Sea App

$
0
0
Battleships Blood Sea(battleshipsbs.com) is a military SLG masterpiece specially designed based on the history of WWII. Embrace tech power and make yourself thrive!
App Details:
Price: FreeCategory: GamesUpdated: Jun 09, 2017Version: 1.0.2Size: 423 MBLanguage: EnglishSeller: JOYFUN INC CO., LIMITED© SINCETIMES NETWORK CO. LTDCompatibility: Requires iOS 7.0 or later. Compatible with iPhone, iPad and iPod touch.

[Transformice] SxDMice Staff positions

$
0
0
1. Developer (a person who can code)

2. Moderator (a person who moderate the game and promote the server and be able to invite members)

Descriptiptions:
1. I need a developer to develop us a better source code (1.382 or better).

2. I need moderators to promote sxdmouse and get more loyal members.

Website link: SxD Mice ! »

Contact details:
Skype: live:daryan.latif
Facebook: Daryan997

[Transformice] SxDMice!

$
0
0
SxDMice is a transformice private server where you start with 20000 Cheeses and Fraises, in this server you have more freedom to do stuff like learning, getting promoted, winning, and have more fun with our friendly staff.

We have some custom features and they are:
1. starting with 20000 cheeses and fraises
2. hourly 100 cheeses and fraises giveaway
3. always open position for staff members ( more detailed here )
4. Custom titles (Coming soon!)

Link: SxD Mice ! »

Screenshots:
Login screen


Gameplay:

[HELP]How To add Flag War ?

$
0
0
Hello,
I want to add Flag war.
Example:


Please Help me :(:

[AD] ILUZIONMU | DYNAMIC x1000, Mid x100 | Join Us

$
0
0


Home:
IluZionMU Online Home

Download: IluZionMU

FaceBook: https://www.facebook.com/ILUZIONMU


Basic information about Dynamic x1000 and x100 servers

  • Experience: Dynamic x1000
    1 to 10 reset experience is x1000
    11 to 20 reset experience is x900
    21 to 30 reset experience is x800
    31 to 40 reset experience is x700
    41 to 50 reset experience is x650
  • 51 to 60 reset experience is x600
    61 to 70 reset experience is x500
    71 to 80 reset experience is x400
    81 to 90 reset experience is x300
    91 to 100 reset experience is x200
  • Items Drop: 35%
  • Maximum Level: 400
  • Points Per Level: 5/7/7
  • Master Level Experience: x100
  • Maximum Master Level: 330
  • Points Per Master level: 1 for all class
  • Monsters Per Spot: 5-7 on all map
  • Arena Only VIP User
  • Maximum Stats: 32767
  • MG, DL, SUM and RF Create Level: 220, 250, 300, 300
  • Losttower 1-7, Karutan 1 Maps Are NON PVP
  • Command /pkclear Price: 10kk x Kill Count

Basic information about Dynamic x100 server

  • Experience: No Dynamic x100
  • Items Drop: 25 %
  • Maximum Level: 400
  • Points Per Level: 5/7/7
  • Master Level Experience: x20
  • Maximum Master Level: 330
  • Points Per Master level: 1 for all class
  • Monsters Per Spot: 4-6 on all map
  • Arena Only VIP User
  • Maximum Stats: 32767
  • MG, DL, SUM and RF Create Level: 220, 250, 300, 300
  • Losttower 1-7, Karutan 1 Maps Are NON PVP
  • Command /pkclear Price: 10kk x Kill Count


Reset and Grand Reset information about Dynamic x1000 server
SERVER :
X1000
  • Reset Level: 400
  • After Reset Stats Clear
    SM, BK, ELF, SUM: 750 free points x reset
    MG, DL, RF: 750 free points x reset
    Reset Reward: 10 credits
  • Grand Reset From: 200 reset
  • After Grand Reset Stats Clear
    All class get 5000 free points x grand reset
    Grand Reset Reward: 5000 credits


SERVER : X100

  • Reset Level: 400
  • After Reset Stats Clear
    SM, BK, ELF, SUM: 600 free points x reset
    MG, DL, RF: 600 free points x reset
    Reset Reward: 50 credits
  • Grand Reset From: 100 reset
  • After Grand Reset Stats Clear
    All class get 5000 free points x grand reset
    Grand Reset Reward: 5000 credits


Server and Game Features


  • Muun System get a lot of different pets
  • Auto Reconnect System no more disconnect
  • Auto Party System leave an open door for your friends to join party while being AFK
  • Off-Trade System sell the Stuff for any type of coin or cash
  • Off-Levelling gain exp being offline
  • Pandora Jewel & Mining System


InGame Quests and Events


  • Arca War Battle
  • Acheron Guardian Event
  • Chaos Castle Survival Event
  • Illusion Temple Renewal
  • Imperial Fort Event
  • Double Goer (Doppelganger)
  • Castle Siege
  • Loren Deep
  • CryWolf
  • Devil Square (1-7)
  • Blood Castle (1-8)
  • Chaos Castle (1-7)
  • Swamp of Peace (Medusa)
  • Rabbits Invasion
  • Pouch of Blessing Invasion
  • Golden Monster Invasion
  • White Wizard Invasion
  • Battle Soccer
  • Kalima (1-7) Event
  • Kanturu Event
  • LaCleon Event
  • Last Man Stating Event (Custom)
  • Bonus events Event (Custom)
  • Santa Village Event
  • Halloween Event
  • New Year Day Event


ScreenShots

World_db 5.0.7

$
0
0
World_db 5.0.7 - RoM

Hey i got some old world db files :laugh: i liked to share these with u guys :)

> for backup purposes :thumbup1:

> link https://mega.nz/#!YKwk0AyL!veCuquZseysfSlAePsL0omL4w8ZBOMSKPhVrQ5SK3MU

Payment system

$
0
0
What payment system is best used for Europe for a private server?

Launcher Update

spawnPlayerMapObject problem

$
0
0
whenever Player A sees Player B

it would make MapleStory stop responding

I fixed spawnPlayerMapObject in other version before

it was fine and work so that makes me much more confused

please help :*::*: it has bothering me for 3 days now

Cabal Server Setup Looking for partner(s)

$
0
0
Hi,

I have an MSDN Subscription therefore I can provide an Azure VM Centos 6.9 / 7.3. I can also provide MSSQL Server if needed. Who could help me setup a Cabal on linux because I could not set it up as I have low knowledge on this OS. I setup a cabal server back in 2012/2013 but using my home PC with the instructions on the tutorial page. It is quite different on using this azure linux since the OS is not the same version and I am running into some trouble. Hit me up with a PM if you are interested. Thanks!

How to create a guild.

$
0
0
How to create a guild. Without using 8 players
Viewing all 25321 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>