Well, Ive started the daunting task of creating a pserver. Im doing it for fun and to learn a lot on the way. I am a Dekaron and pserver noob, but I think I am learning fast and have been reading ePvP and DKUnderground for weeks.
Right now I am trying to get a grip on the CSV madness I find myself in. There HAS to be a better way to handle all these CSVs.
1) Import the CSVs and file DB structure into MS Access. I can create forms that will generate PCs, items and NPCs. It will also give the ability to generate reports that show the exp/item curves vs mob lvl to help with zone balancing.
2) Focus on SQL. Learn SQL in and out to create resuable scripts to generate items/chars etc. This could be done with notepad++. I figure learned SQL will have huge benefits anyway.
3) Do it all by hand in the SQL enterprise manager. I dont know why but this option nags me. I feel like there is an easier way.
I plan on sharing a great deal of my work with the community, only holding back what may risk the security of the server.
What are peoples thoughts, recommendations or requests? I know Access 2013 in and out and have a good grasp of SQL. I just dont have the experience with Dekaron to know what is worth the time.
My weekend project is going to get a SQL script written to generate PCs with appropriate GM stats.
Okay, so I wrote a simple SQL query that can be used to create a GM character and update his stats at the same time. If you do some research you will find it similar to KingTut's GM code with a twist.
1. Create a character on the server
2. Open MS Server SQL Query Analyzer
3. Enter this code:
Use character
Go
Update [user_character]
Set dwMoney=5000000000,
dwStorageMoney=5000000000,
nHP=65000,
nMP=65000,
wStr=3000,
wDex=3000,
wCon=3000,
wSpr=3000,
wStatPoint=1000,
wSkillPoint=300,
wLevel=250,
nShield=65000,
character_name='[GM]Name'
Where character_name = 'Name';
4. Enter the character's name at the bottom, the GM name and feel free to play around with the values.
declare @charname char(19)
set @charname = 'paste name here'
Use character
Go
Update [user_character]
Set dwMoney=900000000,
dwStorageMoney=900000000,
wStr=65500,
wDex=65500,
wCon=65500,
wSpr=65500,
wStatPoint=0,
wSkillPoint=1000,
wLevel=250,
character_name='[GM]'@charname
Where character_name = @charname;
nShield=65000,
nHP=65000
nMP=65000, // not necessary, /gm heal in game will fill ur hp/mp, and it is set from ur stats when u login and all ur stats set to almost max, unless u want ppl to be able to kill ur gm, and im not really sure id 5 billion is going to be ok in ur inv, i think max is only 1, u can mail them money in game as well so i would remove that as well.
Thank you both for the replies. I really like the declared variables as that makes it easier to interact with.
I started this code because I am at the point where I am creating many characters to test skills, armor sets and animations. This script lets me copy paste instead of manually going into the tables.
I am definitely NOT giving non-dev personal access to the database.
minus the 4 needed for the [GM] should had been 21 (not 19, thats my bad) but yeah making it 40, kinda overkill when u can only have 25 max :P plus what if the orginal name is 25 already, and u add 4 more characters to it? db wont like that, and i doubt the game would either
and would be a good idea to set the stats max so players dont kill them every time they log on
Code:
declare @charname varchar(21) // 21, becus max character name length is 25, minus the 4 characters needed for '[GM]'
set @charname = 'paste name here' // if original name length is 25 it will cut 4 off for the GM name and wont bug out the db
Use character
Go
Update [user_character]
Set
wStr=65500, // Max their stats so ******* players dont just kill them @ login
wDex=65500,
wCon=65500,
wSpr=65500,
wStatPoint=0, // clear any extra points they may have so they dont bug their GM
wSkillPoint=1000, // give them plenty of skill points to max their skills
wLevel=250, // max their level so they dont gain any extra stat points to bug their gm with
character_name = '[GM]'@charname
Where character_name = @charname;
and if ur smart and dont wanna learn the hard way, dont ever give anyone access to the db, not even ur mom
[S]Alice Madness Returns 11/18/2012 - Steam Trading - 1 Replies Ich kenne mich mit Stream nicht aus :D
Also ich würde sau gerne "Alice Madness Returns" spielen aber ich kann nicht mehr warten deswegen würde ich für das Spiel 150 e*Gold geben 200 ist Stop bitte Bietet mir was ich will das Spiel wirklich dringend Spielen.
Vielen Dank an die wo sich schonmal Melden.
Koopa's WE MADNESS // 8€/stack!! [until 22:00 PM] 05/20/2012 - Guild Wars Trading - 1 Replies Welcome to my WE MADNESS
I need an empty chest, so BUY THOSE FU**ING STACKS! :D
ectos
1 stack = 8,00€
0 stacks left
30 stacks sold
[Madness Online]New Server 01/04/2012 - EO PServer Hosting - 23 Replies Madness Online was created for the simple purpose of trying to bring the PK aspect back into the game, i have played alot of servers, all i did was sit in market and compose to try to catch up, it was never going to happen, so i decided to make my own server, i will tell you now, each person works for what they get, no sitting in market and composing all day, people have to farm for eps,tokens and unis, this means more people outside of cronus to kill =).
...
Car Madness [ BOT ] 09/26/2011 - Facebook - 0 Replies Have Anyone a BOT for Car Madness ?
Maybe :
Auto Race
Auto Tours
Auto Factories
or Like this..
Car Madness Cheat? 11/26/2010 - Facebook - 0 Replies Are there any Car Madness Cheats?