Fang's Source Edit [5165]

09/10/2010 23:17 -Fáng-#1
Quote:
Quote:
Originally Posted by resale123 View Post
do u have a nice source that i can download? :)
Me? o.O lol
I guess... Yah sure. Why not I guess.
I'm releasing this because someone requested it o.o ..
It's from AGES ago so please don't judge my coding experience on this! xP
I don't know why you guys like this source. lol, but here's my edit:

Download the Source: (Patch 5165 - 5172)
[Only registered and activated users can see links. Click Here To Register...]
or try downloading it here: [Only registered and activated users can see links. Click Here To Register...]


Running Windows 32bit Edition? Here's the fix:
[Only registered and activated users can see links. Click Here To Register...]

WARNING: If you are using an un-edited client that doesn't have the horse race map, do not use the horse race command and please use this [Only registered and activated users can see links. Click Here To Register...] (replace it in bin/release/database/ini)!

Things I fixed:
Code:
... idk. I can't remember. A few things? lol
I remember the last thing I fixed was the ban system...

Mob Information Disclaimer:

Code:
I copied it from the regular source because I was working on mine when
I stopped working on this source. You can change the guards to a 
normal mesh by going to mobinfo.txt in the database folder!
Commands:
Code:
--------------------------------------------------------------------------------
Weather Codes (GMs):
--------------------------------------------------------------------------------
/weather [Type] [Direction] [Intensity]
   Weather Types:
	Rain = 1
	Snow = 2
	Red Leaves = 3
	Yellow Leaves = 4
	Green Leaves = 5
	Pine Needles = 6
	Brown Leaves = 7
	Green Leaves = 8
	Dark Green Leaves = 9
	Pink Flowers = 10
   Intensity: 1-999
   Direction: -30 - 30 from +y axis

	
--------------------------------------------------------------------------------
Player Codes:
--------------------------------------------------------------------------------
/dc			Disconnects the Player
/home			Takes the Player to his Home
/players		Displays who's online
/forcerevive		Revives the Character if an Error occurs
/rh			Revives the character "here"
/lucky			Displays how much Luckytime is remaining.


--------------------------------------------------------------------------------
Pet Commands:
--------------------------------------------------------------------------------
None Available


--------------------------------------------------------------------------------
Appearance Codes (GMs):
--------------------------------------------------------------------------------
/body [Number]		Changes the body type
/action [Number]	Performs an Action
/hair [Number]		Changes the hair style
/top [Type]		Gives the player a halo
	Top Types:
		ninja, warrior, trojan, firetaoist, watertaoist,
		archer, dl, gl, weeklypk, monthlypk.


--------------------------------------------------------------------------------
Server Tests (GMs):
--------------------------------------------------------------------------------
/npcavater [Number]	Tests the NPC's face
/starterquest_status	Gives the number of the quest you're on
/starterquest [Number]	Sets the number of the quest you're on
/starterquest_reset     Sets the starter quest number to 0
/statusoff		Takes away XP Status
/day			Brings light to the server
/night			Brings darkness to the server
/night1			Turns the server green
/night2			Brings darkness to the server
/maxstat		Maximum Stats to wear anything
/clearinv		Clears Inventory
/life			Returns full HP, MP, and Stamina
/hp			Returns full HP
/mp			Returns full MP
/stamina		Returns full Stamina
/reborn	[Number]	Adds reborns the character
/gw			Start Guild War
/gwend			End Guild War
/eqlow			Make all items below level 15
/effect [Name]		Tests an effect
/exp [Number]		Changes the exp percentage
/pkp [Number]		Changes the pkp
/whpass			Displays your warehouse password
/vip [Number]		VIP (Number = 1-7)
/xp			Activate XP Skills
/newguild [Name]	Creates a new guild
/vps [Amount]		Check or add Virtue Points
/map			Check what map you're on
/job [ID]		Change your profession
	IDs: 
		Trojan = 10-15, Warrior = 20-25, Knight = 30, Archer = 40-45,
		Ninja = 50-55, Taoist = 100-101, Metal = 112-115, 
		Wood = 122-125, Water = 132-135, Fire = 142-145, 
		Earth = 152-155
/silvers [Amount]	Add silvers to your character
/cps [Amount]		Add CPs to your character


--------------------------------------------------------------------------------
Server Construction (GMs):
--------------------------------------------------------------------------------
/spawn			Say this command once to start a spawn in a location,
			then say it again in this format:
			/spawn [Mob ID] [Number of Mobs in Spawn]
			to end the spawn in a location creating a string
			in \OldCODB\MobSpawns.txt
/gaurd			Say this command to place a guard in the server at your
			location reating a string in \OldCODB\MobSpawns.txt
		

--------------------------------------------------------------------------------
Scrolling (GMs):
--------------------------------------------------------------------------------
/scroll [Destination]	Takes you to a destination without coords
	Destination:
		tc = Twin City
		tg = Training Ground
		ja = Jail
		ac = Ape Mountain City
		dc = Desert City
		mc = Mystic Castle
		bi = Bird Island
		pc = Phoenix Castle
		ma = Market
		gwp = Guild War Pole
		gms = GM Spot
		pka = PK Arena
		lo = Lotto
		qmap = Special PK Event Map
		srs = Steed Race Start
		srf = Steed Race Finish
/tele [Map] [X] [Y]	Takes you to a destination using coords
		

--------------------------------------------------------------------------------
Player Management (GMs):
--------------------------------------------------------------------------------
/ban [Player Name]	Bans a player
/recall [Player Name]	Recalls the player to your location
/kill [Player Name]	Kills the player
/c [Message]		Sends a message to all players in the middle
/cc [Message]		Sends a message to all players in the top left
/goto [Player Name]	Go to the player's location
/kick [Player Name]	Kicks the player off the server


--------------------------------------------------------------------------------
Steed Codes (GMs):
--------------------------------------------------------------------------------
/steed [Plus] [Red] [Blue] [Green]
	Colors:
		-- [Given] ----------------
		Black 		150 000 255
		Maroon		255 150 000
		White 		000 255 150

		-- [Normal] ---------------
		Agate		146 066 151
		Amber		180 200 130
		Beige		121 065 100
		Brown		195 133 000
		Charcoal	205 000 050
		Cobalt		100 185 114
		Coral		204 050 109
		Crystal		000 206 206
		Diamond		099 200 155
		Emerald		027 206 078
		Golden		150 155 145
		Grey		012 200 076
		Indigo		126 000 195
		Ivory		086 115 202
		Jade		000 206 122
		Khaki		201 176 060
		Lavender	047 000 135 [Default]
		Jade		000 206 122
		Lilac		141 088	205
		Marble		110 023 180
		Mauve 		085 040 175
		Misty		151 177 000
		Moon		186 205 090
		Mortar		030 205 150
		Nightmare	140 122 033
		Paisly		105 134 200
		Pearl		055 199 052
		Pine		090 142 190
		Pink  		193 022 173
		Plaid		175 179 123
		Purple 		162 100 195
		Red		130 079 186
		Rime		080 126 164
		Sandy		205 088 091
		Sapphire	100 153 155
		Shadow		130 040 205
		Snow		144 100 076
		Star		010 160 040
		Sunset		157 177 188
		Violet		120 160 200
		Yellow		164 129 105

		-- [Rare] -----------------
		Blazehoof	148 156 137
		Frostbite	062 063 184
		Spitfire	187 135 201
		Spotted		147 134 122
		Zebra		142 039 046
		
		
--------------------------------------------------------------------------------
Item Codes (GMs):
--------------------------------------------------------------------------------
/mb			MoonBox
/additem [ID]		Add an item to the inventory using an id
/item [Name] [Quality] [Plus] [Dmg] [Enchanted HP] [Soc1] [Soc2]
	Notes: Damage only works 0-7, Enchanted 0-255, Plus 0-12
		

--------------------------------------------------------------------------------
skills / Prof (GMs):
--------------------------------------------------------------------------------
/skill [ID] [Level]		Adds a skill to the character
/prof [ID] [Level]		Adds a Prof. to a weapon


--------------------------------------------------------------------------------
NPC Contruction (Owner):
--------------------------------------------------------------------------------
NPC Effects:
	none, flying, flower04-61, LuckAbsorb, qianxing50, relive-long, zf2-e020,
	attackup20-1, or any other effect in "Effects"
BEFORE YOU FLAME:
Quote:
Originally Posted by ☆★Zuper★☆ View Post
I dont even see why he released it
I released it because someone requested it. Please read.

Quote:
Originally Posted by Eliminationn View Post
Because it's raw and shit. I asked him the same question..
And yah, I know it's polished crap. I edited this source in my first month of learning how to code.

Good luck!
Sincerely,
Fang
09/10/2010 23:20 xConquerianOx#2
nice relase!
09/10/2010 23:22 -Fáng-#3
Quote:
Originally Posted by xConquerianOx View Post
nice relase!
Lol, thank you I guess!
It's just a polished crap source xP
I hope you get the most out of it though =]

Here's the GameMap.dat file if you just downloaded the regular, unedited client:
09/10/2010 23:22 .: RoCK :.#4
can't download it ...why?? u can upload da source on other any site..
09/10/2010 23:23 resale123#5
ty :DDD
09/10/2010 23:24 †he Knight#6
It's Not Working, I'm getting some shitty errors ( not the one with #error i deleted it )
09/10/2010 23:24 -Fáng-#7
Quote:
Originally Posted by .: RoCK :. View Post
can't download it ...why?? u can upload da source on other any site..
Sure, hold on...
It should work now on that website, but I'll upload it to a different one just in case.

Quote:
Originally Posted by JuiceDCodeR View Post
Excelent Work , I'll try it now , Is this Tanel's Source btw?
Yah, it's just a bit polished up is all.


EDIT: Here's the 2nd place to download the source:
09/10/2010 23:56 Sp!!ke#8
so what is new in that source?:)) all what you say is released on epvp :| ! nothing new for me.. !
09/10/2010 23:59 -Fáng-#9
Quote:
Originally Posted by Tweety.4Girls View Post
so what is new in that source?:)) all what you say is released on epvp :| ! nothing new for me.. !
I can't really remember. I just fixed a few major problems. You don't have to download it. lol, I just released it because it was requested.

EDIT: Oh yah, I made an effort to fix rollbacks. I can't remember if I fixed it completely or not but It's definitely a lot better!

Quote:
Originally Posted by JuiceDCodeR View Post
It's Not Working, I'm getting some shitty errors ( not the one with #error i deleted it )
Really? =P And what errors might that be?
it looks fine on my side =]

Here's the 32bit Fix, put it in the bin/release folder:
09/11/2010 01:13 †he Knight#10
could u please add me on msn? [Only registered and activated users can see links. Click Here To Register...]
09/11/2010 01:14 -Fáng-#11
Quote:
Originally Posted by JuiceDCodeR View Post
could u please add me on msn? [Only registered and activated users can see links. Click Here To Register...]
I edited the post above- you must be running Windows on 32bit!
09/11/2010 01:27 †he Knight#12
Quote:
Originally Posted by -Fáng- View Post
I edited the post above- you must be running Windows on 32bit!
Still Doesnt work.. Actually it threw me an exception its not an error...
Its like this
Quote:
private void Server_Start()
{
Program.StartServer();
Database.LoadQuestions();
Database.CreateEquipsDrops();
Database.LoadEmpire();
CompanionThread.Execute += new Execute(CompanionThread_Execute);
CompanionThread.Start(100);
ServerStuff.Execute += new Execute(ServerStuff_Execute);
ServerStuff.Start(100);
MobThread.Execute += new Execute(MobThread_Execute);
MobThread.Start(100);
World.MobsStart = true;
...
09/11/2010 01:35 -Fáng-#13
Quote:
Originally Posted by JuiceDCodeR View Post
Still Doesnt work.. Actually it threw me an exception its not an error...
Its like this
There are two known problems:
1. Guilds.dat
2. I'm using a photoshop font.

EDIT: Fixed! Sorry about that! =[
09/11/2010 12:55 Sp!!ke#14
what is new in that source? all what you say up are released on epvp !:| NOTHING NEW !
09/11/2010 13:23 †he Knight#15
Quote:
Originally Posted by Tweety.4Girls View Post
what is new in that source? all what you say up are released on epvp !:| NOTHING NEW !
Oh Cmon it has different structure and i feel that it has ALOT OF MORE fixed things.