How to set your drop rates via DB.
Code:
Update monsterdrops
SET chance = chance / x;
Copy that into the box beside the green refresh button in MySQL Query Browser, and replace the x after the * with whatever you want your drop rate to be X'd by - then hit Execute.
To change the admin password, copy and paste this into the top window in the Query Browser.
Code:
UPDATE accounts SET password = SHA1('password') WHERE name='admin' To make other people able to connect to your server: 1. Find out your ip address 2. Right click on world.properties in the odinMS folder.
3. After "net.sf.odinms.channel.net.interface=" change localhost to your ip address.
4. Distribute a modified .exe or use the .bat file method.
How to make a site for people to register on:
1. Download this:
modified vsite (all credit goes to Vintage)
2. extract to c:/wamp/www/ so you have index.php and yourms folder in
c:/wamp/www/vsite 3. The index.php in /www/ is already configured, and is just a nice homepage for you to change. Right-click it, edit and then change any of the following in bold to whatever your mapleserver is going to be called.
Code:
<html>
<head>
<title>YourMS HomePage</title>
</head>
<style>
*{ FONT-SIZE: 8pt; FONT-FAMILY: verdana; } b { FONT-WEIGHT: bold; } .listtitle { BACKGROUND: #425984; COLOR: #EEEEEE; white-space: nowrap; } td.list { BACKGROUND: #EEEEEE; white-space: nowrap; } </style>
<center><br><br>
<u><span style="font-size: 14px;"><h1>HomePage</h1></u></font></span>
<h2>links to various projects and pages</h2>
<br>
<br>
<table cellspacing=1 cellpadding=5>
<tr><td class=listtitle colspan=2>Links</td></tr>
<tr><td class=list align=right>yourMS</td><td class=list><a href="/vsite/yourms/index.php">Registration</a></td></tr>
4. Navigate to the yourms folder (leave this name) and open the index.php in there. Again, you can change the pretty much anything called yourms. Halfway down there is this code:
Change the bit in "s to the download link for your hex edited client, and obviously change the name of yourMS.
5. Go into the functions folder and open config.php. Using the //*information*, fill out the relevant information. Using my guide above the passwords should all be correct at this time anyway. However, if your server is public change the localhost in this line:
Code:
$serverip = "localhost"; //Replace with your WAN IP if public
to your external IP address.
6. Set up port forwading on port 80 to your local ip address (something like
192.168.1.100) then tell your friends to go to
http://yourip/vsite/index.php. It should work.
Well heres what all the commands do!
OdinMS GM Commands:
!map <mapID> - Warps you to mapID.
!jail <charname> - Warps user to map: "To Mu Lung: During the Ride" they cannot exit.
!jail 2 <charname> - Warps user to map "The Room of Tragedy". Map NPC allows character to pay 10 million mesos to exit.
!lolcastle <level> - Warps you to the lolcastle (Field of Judgement) map with the level you selected. (Levels are 1-5)
!warp <charname> - Warps you to the map of the user.
!warp <charname> <mapID> - Warps user to mapID.
!toggleoffense <offence> - turns cheatingoffences on and off (for the !cheaters command).
Offense List:
FASTATTACK
MOVE_MONSTERS
TUBI
FAST_HP_REGEN
FAST_MP_REGEN
SAME_DAMAGE
ATTACK_WITHOUT_GETTING_HIT
HIGH_DAMAGE
ATTACK_FARAWAY_MONSTER
REGEN_HIGH_HP
ITEMVAC
SHORT_ITEMVAC
USING_FARAWAY_PORTAL
FAST_TAKE_DAMAGE
FAST_MOVE
HIGH_JUMP
MISMATCHING_BULLETCOUNT
ETC_EXPLOSION
FAST_SUMMON_ATTACK
ATTACKING_WHILE_DEAD
!warphere <charname> - Warps user to you.
!spawn <monsterid> <count> [[hp <amount>] [exp <amount>]] - Spawns monster.
!servermessage <message> - Changes scrolling server message.
!array - ...Random "Array" in chat message.
!notice <w|c|m> <message> - Notice world, channel or map with the message.
!notice [n | p | l | nv | v | b] - Blue Notice | dialog notice | white notice | [notice] red | red without [notice] | blue without [notice] sent to world, channel or map with the message. !job <jobid> - Change Jobs.
!clock <seconds> - Shows "Time Left" Clock... Another test command.
!pill <amount> - Gives Dexterity Pill.
!item <itemid> <amount> - Gives Item.
!drop <itemid> <amount> - Drops Item.
!shop - Opens shop 1. Unused Test command.
!equip - Opens shop 2. Unused Test command. !clearshops - Reloads shop database.
!cleardrops - Reloads drop database.
!clearevents - Reloads events.
!clearquest <questid> - Resets quest to "NOT_STARTED".
!gps - Unused Test Command.
!sp <number> - Sets sp to the number.
!fakerelog - Removes you from map and then Adds you back to spawn point.
!test - Test command, not used.
!dc <charname> - Disconnects user.
!charinfo - Shows Character ID, x and y position, currentHP/MaxHP, currentMP/MaxMP, Experience, If they are in a Party or Trade, If they are connected, and some debug stuff.
!ban - Bans Account, IP and MAC Address of user. !levelup - Levels you up 1 level.
!whereami - Shows "You are on map MAPID" to user.
!version - Shows Revision Info.
!connected - Shows number of clients connected to the server.
!whosthere - Shows players on the map.
!shutdown
!shutdownworld
!shutdownnow
!timerdebug
!threads
!showtrace
!dumpthreads
!reloadops
!killall - Kills all monsters on map.
!monsterdebug - Shows info of all monsters on map.
!skill <skillid> <level> <masterlevel> - Adds skill points to skillid.
!spawndebug
!door - Makes door. Test Command, don't use this.
!tdrops - Toggles monster drops on and off for that map.
!lowhp - Sets hp to 1 and mp to 500.
!fullhp - Gets players maxHP not counting items additions and sets HP to that.
!cheaters - Shows players that are suspected of cheating.
Enjoy...?