Official 5165 FAQ/Question thread

01/08/2010 07:52 NoFatChicks#601
Yea im was talking about the NPC.txt.. i'm so sleepy atm. ....SO i'm doing what it needs but when i debug;;; "....ID" error.
Ima go sleep. tomorrow i'll try it again.

><



and thanks anyway.
01/08/2010 09:53 Pitylee#602
I am posting this reply. IDK, maybe 10th time. So someone would help me with the epic webserver register page, cuz the reg.html's action reffers to regcomplete.html from another host.

And how can I edit the VIP system?

And what are the "Unknown main ID: 1134" errors or whatever they are in the client chat?

But first I need to my server to work in database.
01/08/2010 15:23 bart2712#603
EDIT: Nvm I got it...OMFG noob mistake, i somehow had two copies of the OLDCODb folder, one inside the FixedSource folder...which is the one i was editing the .txt files in

I realized I had to edit the .txt files in the separate folder, thats where it was reading the database from.

Oh yeah, and like someone else asked, what exactly is that error in client, "Unknown Main ID: 1134" ?
01/08/2010 17:43 NoFatChicks#604
About the lvling exp? Where can i change it? Character.cs?
And if i want to put a guard somewhere how i do it?


Thanks..




#Searching#
01/08/2010 20:38 bart2712#605
Quote:
And if i want to put a guard somewhere how i do it?
I actually thought the guards would be listed in the NPCs.txt file, but surprisingly enough, I guess since they do attack at times, theyre in the Mob files.

To place once youd have to add a line into the MobSpawn.txt, or you can just go into the client, stand exactly where you want the guard to be, and use the command /guard...then just restart the server for it to show up.

Quote:
About the lvling exp? Where can i change it? Character.cs?
Hmmmm, im not sure...i know i saw it somewhere and edited it on my server, just cant remember where lol




And, a question for anyone who can help...i can connect to server in the client on my computer(same as server), but noone outside can even though im running hamachi and have edited the server.dat for my hamachi ip.

Would my solution be to edit the code again, replacing the one spot where i made the ip as "127.0.01"? or does the person trying to connect thru actually have to be on my hamachi network to connect?
01/08/2010 21:00 Pitylee#606
Quote:
Originally Posted by bart2712 View Post
And, a question for anyone who can help...i can connect to server in the client on my computer(same as server), but noone outside can even though im running hamachi and have edited the server.dat for my hamachi ip.

Would my solution be to edit the code again, replacing the one spot where i made the ip as "127.0.01"? or does the person trying to connect thru actually have to be on my hamachi network to connect?
Yeah they have to be in ur hamachi network. Otherwise is like connecting from the internet to a mobile network. :) I think this is the simplest way to explain it.
But you don't need hamachi for this. Open the ports if you are behind a router. Or if you are behind a modem, you just put your external IP there, and to the server.dat too.
If you don't know your external IP: you can find it here -> [Only registered and activated users can see links. Click Here To Register...] <- .
And if you don't know which port's you have to open, here are my open ports (and my server runs perfectly):
9960, 9958, 3306, 80, 5816, 5817, 88, 5432, 8080, 5000, 5016, 21, 3784
8080, 3306, 9958, 9960

9960, 9958, 5816, 5817, 5000, 5016 - these are server IP's. I don't know exactly which is using this server. But most of the servers is using 2-3, or even 4 ports at the same time.
3306 - MySQL port, if you are using Epic Webserver - which I haven't found out how to use.
8080 - Epic Webserver
80 - Apache / Xampp / Wampp / Appserver and etc.
21 - if you are using FTP
and
3784 - if you have ventrilo server

That's all. if you rly have router, you can find out how to set up ports on it, on this page: [Only registered and activated users can see links. Click Here To Register...]

I hope I helped you. Hit Thanks if I did, please :)
01/08/2010 21:03 Pitylee#607
Someone could explain me, how to use this source with mysql db?
Cuz when I'm trying to log in with one of the acc's from the db, client sais that invalid user.
01/08/2010 21:09 [GM]#608
i downloaded ur source but i don't c any npc selling horses around where is it plz?



oh 1 more thing girl archers can't attack in 5165 sources i tried this on ur source and on my source and not working i will use binary 3.0
01/08/2010 21:55 Pitylee#609
Someone could explain me, how to use this source with mysql db?
Cuz when I'm trying to log in with one of the acc's from the db, client sais that invalid user.[
01/08/2010 22:12 WHITELIONX#610
Doesn`t run on mysql >.< It is ini file and not mysql. And why are people using 127.0.0.1 and then using Hamachi o.0? That 127.0.0.1 is supposed to be your Hamachi number! The problem people are having is that the client you are sending out is looking for the Hamachi number yet you are using localhost and not Hamachi >.< If you use Hamachi then config.ini MUST be your Hamachi number and nothing else!
01/08/2010 22:20 bart2712#611
i tried that...put my hamachi IP into the config.ini, and the server.dat...sent a copy of the client to my roomies computer...but when we try to login to client on their computer it doesnt connect, and my server console gives no errors or anything.

Unless i want all players to use hamachi, i have to forward the ports on my router then?
Or could i enable DMZ for just the IP address of the computer the server is on?
01/08/2010 22:40 Pitylee#612
Quote:
Originally Posted by WHITELIONX View Post
Doesn`t run on mysql >.< It is ini file and not mysql.
Than what is Epic Webserver for? And why is in the fixed source.rar a .sql db bckp file? this is making no sence.
01/08/2010 22:42 Arcо#613
Quote:
Originally Posted by Pitylee View Post
Than what is Epic Webserver for? And why is in the fixed source.rar a .sql db bckp file? this is making no sence.

The sql is there for no reason.
It has nothing to do with the source.
EpicWebServer is for the website so it can transfer the accounts straight from the website into your C:/ drive.
01/08/2010 22:49 bart2712#614
Quote:
Unless i want all players to use hamachi, i have to forward the ports on my router then?
Or could i enable DMZ for just the IP address of the computer the server is on?
Any clue about this, Hepatitis-C?

Oh, and once i fix it, for the outside IP I just use the IP the router gives me(meaning the one i get from whatismyip.com) ?
01/08/2010 23:19 Pitylee#615
Quote:
Originally Posted by Hepatitis C View Post

The sql is there for no reason.
It has nothing to do with the source.
EpicWebServer is for the website so it can transfer the accounts straight from the website into your C:/ drive.
Kay, but I don't have the register page. do you have it?:))
reg.html reffers to an external host, which is offline. And I can't register accounts.