Problem to Get Mobs - Spawns To INI...

11/15/2008 09:50 µ~Xero~µ#1
Hello guys i got some bad probs with my mobs.... i tied now for like 1week and still nothing they wont load from inis :)

If sommeone could help would be awesome :)
11/15/2008 09:53 alexbigfoot#2
lol, quit having a p server if u dont even know that things, because is too easy
11/15/2008 10:22 µ~Xero~µ#3
i dont have a server online i just wanna learn how to do all but now im stucked there i got every other shit INI but mobs n spawns are hard 4 me :(
11/15/2008 10:54 Valkmax#4
Quote:
lol, quit having a p server if u dont even know that things, because is too easy
Stop being worthless and help, he didnt ask for a copy and paste he just asked for help. Least someone is trying.

I would pick out a source that already has them coded and see how they did it and learn from it. (I can't think of one right now cause I am half asleep)
11/15/2008 11:16 µ~Xero~µ#5
i looked on samehvans source but this doesnt help :(
11/15/2008 11:33 Valkmax#6
I will go and download it and see what I can get out of it and see if i can help more.
11/15/2008 12:08 alexbigfoot#7
string[] EMob = File.ReadAllLines(System.Windows.Forms.Application .StartupPath + @"\gets\mobs.ini");
Mobs = new string[EMob.Length][];
for (int ik = 0; ik < EMob.Length; ik++)
{
string[] a = EMob[ik].Split('#');
Mobs[ik] = new string[9] { a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8] };
}

the "mobs.ini" file , u`ve got to do it by ur self
11/15/2008 12:51 µ~Xero~µ#8
Thanks :) How to make spawns ? i know im a idiot >,<
11/15/2008 15:04 alexbigfoot#9
look at my example and look at the loading mobs that was there (made using mysql) . get an idea and try to make ur own
11/15/2008 15:21 tao4229#10
Thats called a .txt file... people need to get their file extensions straight >.<(Doesn't really matter what you call it in code actually..)
11/16/2008 02:16 xprincex#11
Give UP .Ini files are not wroth it unless u can code them prefect
MySQL runs a lot smoother and unless u can code php-sockets. u wont be able to have tings like ko board and top players. GIVE UP INI FILES

Tanelipe please close these topics.
11/16/2008 07:37 µ~Xero~µ#12
Quote:
Originally Posted by xprincex View Post
Give UP .Ini files are not wroth it unless u can code them prefect
MySQL runs a lot smoother and unless u can code php-sockets. u wont be able to have tings like ko board and top players. GIVE UP INI FILES

Tanelipe please close these topics.
MySQL runs smoother??
Wrong , it querys to much at mobs and lags unless u got better hardware.


U wont be able to have tings like ko board and top players?

Wrong PHP can read ini files get the line and show the things.

This wasnt a attack but i think they arent tht bad :)
SQL Runs at localhost n uses internet bandwdh which isnt good 4 my modem xD
But thx 4 tring to help me ^^
---------------------------------------------------------------------

Please someone Help :)
11/16/2008 15:23 tao4229#13
Quote:
Originally Posted by µ~Xero~µ View Post
MySQL runs smoother??
Wrong , it querys to much at mobs and lags unless u got better hardware.


U wont be able to have tings like ko board and top players?

Wrong PHP can read ini files get the line and show the things.

This wasnt a attack but i think they arent tht bad :)
SQL Runs at localhost n uses internet bandwdh which isnt good 4 my modem xD
But thx 4 tring to help me ^^
---------------------------------------------------------------------

Please someone Help :)
If it querys to much at mobs then it'll query the same amount of times out of inis, making it slower? If you don't want so many querys, reduce the amount?
11/16/2008 15:56 nTL3fTy#14
Quote:
Originally Posted by µ~Xero~µ View Post
MySQL runs smoother??
Wrong , it querys to much at mobs and lags unless u got better hardware.


U wont be able to have tings like ko board and top players?

Wrong PHP can read ini files get the line and show the things.

This wasnt a attack but i think they arent tht bad :)
SQL Runs at localhost n uses internet bandwdh which isnt good 4 my modem xD
But thx 4 tring to help me ^^
---------------------------------------------------------------------

Please someone Help :)
Not if you were running the website and game server on separate hosts like a real server administrator would do.
11/16/2008 16:04 tao4229#15
Quote:
Originally Posted by nTL3fTy View Post
Not if you were running the website and game server on separate hosts like a real server administrator would do.
Or you could invent your own SQL system using inis so you can remotely access them like Hybrid. :rolleyes: