How to add mob spawns?

12/31/2008 07:33 Fz1337#1
Can someone help me add a mob spawn to a map? i need to know how to do this so then i can code dis city and all of that :mofo:

____

if you help ill hit your thanks button.. :D
12/31/2008 09:19 KraHen#2
What source are you using? What database are you using?

If your database is in MySQL, then go to your database and find the mobs or spawns table, or how is it called at you, and add them there, take reference from other adds.

If it`s INI, do the same thing, just check your MobSpawns.ini or Mobs.ini, or whatever.
12/31/2008 10:09 _Emme_#3
I released a command of how to do it using MySQL, very simple. Tho INI's a bit harder
12/31/2008 15:46 Fz1337#4
emme can you give me the link for that?

i understand how to implant mobs and all of that

i just dont know how to make mob spawns work.

so the link if you can =}
12/31/2008 17:22 _Emme_#5
Just use advanced search and search for every thread started by me, and find my threads with alot of releases in it, it'll be there somewhere.
12/31/2008 18:46 Fz1337#6
thanks emme i found the link ( [Only registered and activated users can see links. Click Here To Register...])

i put the command in like you said im going to test it out when my friend who owns the server gets on, i have to give him the source

+thanks =]]

_____
edit*

one problem though i cant find

Quote:
public static void NoGuild(uint UID)
anywhere in my project

and so i dont know where to put

Quote:
public static bool NewSpawn(ushort Map, ushort XStart, ushort YStart, ushort XEnd, ushort YEnd, ushort SpawnNr, uint MobID)
{
try
{
MySqlCommand Command = new MySqlCommand("INSERT INTO mobspawns (SpawnWhatID,SpawnNr,XStart,YStart,XEnd,YEnd,Map) VALUES (" + MobID + "," + SpawnNr + "," + XStart + "," + YStart + "," + XEnd + "," + YEnd + "," + Map + ")", Connection);
Command.ExecuteNonQuery();
return true;
}
catch { return false; }
}
please help me with that

edit 2*

is it ok if i add you on msn?
12/31/2008 19:08 _Emme_#7
Sure , add email. And you put that shit with the other MySQL things, example Ban, etc
12/31/2008 19:30 Fz1337#8
ok ill look for the ban stuff
12/31/2008 20:43 Fz1337#9
yay!