AnJo's Net Forum

Free Forum for developments of servers.
 
HomePortalFAQSearchRegisterLog in
 

Guide how to make your RAN server!

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin



Joined : 16 Apr 2008
Posts : 13

PostSubject: Guide how to make your RAN server!   Wed Apr 16, 2008 7:47 pm

First Download these in order for you to create your server.

Link 1- http://www.savefile.com/files/1508363

Instructions

Creating New Database
For SQL Express 2005
1. on SQL Server Script Open your RanGame1.sql, SQL Management Studio
will open automatically.
2. Press Connect..
3. then Press Execute[!], wait until analyzing is complete.
4. Refresh on database.
5. Same on RanLog.sql, RanShop.sql and RanUser.sql

For SQL Server 2000
1. On Enterprise manager , Open Query Analyzer.
2. Open RanGame1.sql
3. then Press Execute[!] or Play button, wait until analyzing is complete
4. Same on RanLog.sql, RanShop.sql and RanUser.sql


Download this:
http://ianznet.110mb.com/ran/odbc2k3.reg
I don't know anymore site for the link of this so i just sopied this download file from ragezone.


How to configure RAN Server?
--------------------------------------
Quote:

1. Open CFG folder inside your ran server (example: D:\ranserver\cfg\)
2. Open agent.ini ,session.ini,field0.ini and login.ini with notepad.
3. Change 127.0.0.1 to your IP Address (example: 192.168.0.1 - LAN IP)
4. Dont change 127.0.0.1 if you have to play offline
5. Change user_odbc_user and user_odbc_pass to your windows login account
6. Change user from
database settting
game database setting
log database
shop database

7. Do it the same procedure to field, login, and session.
8. You have now your RAN server config success.
How to configure DATA folder of your RAN Server?
-----------------------------------------------
Quote:
1. Go to Data folder of your client. (Usually it is in C:\Program files\e-games\RAN\data\)
2. Copy this following folder from your client to server data folder

glogic
object
skinobject
gui
skin,
effect
map
skeleton
editor
animation
piece


(this folders are found in your client data folder)

3. Double check your settings.
4. You are now ready to run the ran server.
How to run RAN Server?
----------------------
1. Session Server
2. Login Server
3. Field Server
4. Agent Server


Commands for GM
--------------------------------------
Quote:

Events:

/eventexp_begin [1-9999999%]
/eventexp_end
/eventitem_begin [1-9999999%]
/eventitem_end
/eventmoney_begin [1-9999999%]
/eventmoney_end

Fun:

/bighead [on / off] = All Online Characters in Bighead
/bighand [on / off] = All Online Characters in Big Hands(same as weapons too)

Characters managements:

/charinfo_cn [character Name] = Shows the character information
/kickuser [character ID] = allows to disconnect user
/charinfo_ci [character ID] = character Information by character ID
/charinfo_cn [character Name] = character Information by character Name
/chatblock_cn [character Name] = block character by character Name
/chatblock_ci [charID] = block character by character ID
/chatblock_ua [UserAccount] = block users account

Move commands:

/move2gate [0-99] = Move to available map gate
/m2g [0-99]
/move2pos [##,##,X,Y] = Move to a coordinate
/m2p [##,##,X,Y]
/move2char [character name] = Move to Online Character
/m2c [character name]

Note: maps code (#) can be found on maps.list or maps.ini

Other Commands:

/freepk [on / off]
/visible [on / off]
/m2c [character Name]
/move2char [character Name]
/itemhold
/month [1-12]
/time [1-24]
/weather clear and off clear none leave spore snow begin rain
/fps_limit [on / off]
/where_npc
/dsp
/?


Summoning Monsters:

/mob_gen 62,2,14,14

the 62,2 is the mob id while the 14,14 is the coordinates.


Load New Map on a particular Map Field

/lev_new w_Total_suryun_01.Lev
/lev_del
GM Character Edit (GMCharEdit.exe)
-----------------------------------------------
Quote:
Open up your SQL Manager, whatever it is that you use and head to the RanUser database.
Now, open the ServerGroup table. Below are the values you need to fill in:-

SGNum : 1
SGName : Whatever you want your server name
OdbcName : RanGame1
OdbcUserID :
OdbcPassword :
OdbcLogName : RanLog
OdbcLogUserID :
OdbcLogPassword :

Once done, open up the ServerInfo table in the RanUser database.
Then put in these values.

SGNum : 1
SvrNum : 1
SvrType : 4

Now, run the GMCharEdit. If this is your first time running it
you'll see 4 fields to input information.

First field : RanUser
Second field : your windows username
Third field : your windows password
Fourth field : your windows password

Now all you need is a GM account make an account with UserType 30 in the UserInfo table, Full

control of GMCharEdit.exe..
Just key that in and watch as it automatically connects!



Trigger Codes (Optional )
=============

Here's the Trigger Code for Starting Character Level,Stats,Skill Points,Money and etc...

HERE ARE THE STEPS...

1. Open/Login you SQL Server Management Studio
2. Expand the Databases Group
3. Expand the RanGame1 Database
4. Select New Query from the toolbar
5. From the New Query window on the right pane, copy and paste this SQL Trigger Code...

Put this code direct to the SQL Query
Open ur SQL Queries then put this code Choose the RanGame1 table
for SQL2005 right click the RanGame1 ,select New Queries

Quote:

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO

-- ================================================== ====
-- Author: IaNz
-- Create date: --,--,--
-- Description: Starting Character Level,Skill and Stat Points
-- Dex,Pow,Int,Vit,Stm and Money
-- Note : If you have existing trigger replace CREATE TRIGGER
-- to ALTER TRIGGER
-- ================================================== ====

CREATE TRIGGER [dbo].[NewChar_Level] ON [dbo].[ChaInfo]
after update
as
BEGIN

Update [ChaInfo] set [ChaInfo].ChaLevel=100
From Inserted
Where Inserted.ChaLevel = 1 and [ChaInfo].ChaName=inserted.ChaName
and [ChaInfo].UserNum =inserted.UserNum

Update [ChaInfo] set [ChaInfo].ChaSkillPoint=1500
From Inserted
Where Inserted.ChaSkillPoint = 0 and [ChaInfo].ChaName=inserted.ChaName
and [ChaInfo].UserNum =inserted.UserNum

Update [ChaInfo] set [ChaInfo].ChaStRemain=1500
From Inserted
Where Inserted.ChaStRemain = 3 and [ChaInfo].ChaName=inserted.ChaName
and [ChaInfo].UserNum =inserted.UserNum

Update [ChaInfo] set [ChaInfo].ChaMoney=1000000
From Inserted
Where Inserted.ChaMoney = 0 and [ChaInfo].ChaName=inserted.ChaName
and [ChaInfo].UserNum =inserted.UserNum

END
_________________

Back to top Go down
Fist




Joined : 20 Apr 2008
Posts : 11

PostSubject: Re: Guide how to make your RAN server!   Sun Apr 27, 2008 7:25 am

ANY PROBLEM CONTACT ME


kkingqueve_93@yahoo.com
Back to top Go down

Guide how to make your RAN server!

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
AnJo's Net Forum :: RAN online Development and Discussions :: RAN developing Intructions-