[(Awesome)RELEASE] CoEmuv2.Nano(5095) Source Code

01/22/2010 19:32 pro4never#1366
Few other points, when posting code use [ code ] actual stuff [ / code] so it maintains some form of legibility.

You will wanna add a function to check for item (actually some have been posted, actually I have one in my siggy for my met bank lol) to check if they have 18 db. Then get item info from the equiped item slot that was selected, create a new item identical to it except with a new socket (255 was blank socket I believe) and then replace the old item with it and update database.

I don't really feel like going into any further steps seeing as #1 I haven't coded it and don't feel like coding it right now and #2 if you are going to try to add something of that complexity (lets face it, as far as npcs go, upgrades are one of the hardest things to do. Everything else is just simple character checks, add/remove item, spit out text etc)

Anyways, those are the basic steps you will wanna take. I'd try to learn to code basic npcs first though. Learn what you are capable of and slowly build up to more complex things. In the long run it will really help because you will know the basics and won't be struggling with if statements and such when trying to add somewhat complex systems (seriously... it's hard to debug something when 50+% of the code is wrong)
01/22/2010 20:46 Pitylee#1367
Hey.

I have a problem. My friend can't connect to my server. I used my external IP in the source, firewall is off, and ports are open.
When he's trying to log in, the login server authentication is succesfull, and in the gameserver prompt I see "test's connection timed out"

But if I replace my ip from 66.187.101.86 (below), I can't log in, and my friend can. What do I have to do to be able to login from 127.0.0.1 too?:)

if(AuthSocket.Authorize(AccountName, Key, false))
{
CSocket.Send(Packets.AuthResponse("66.187.101.86", Key1, Key2));
}
else
{
CSocket.Disconnect();
}
01/23/2010 00:46 snow118#1368
Pro 4 never my source npcs. Everyone is coded fully done. But i just cant do this one. and its not c sockets. Mine is Control anyways forget that. I sent you 1 or 2 pages before that post the full blacksmith lee code....... Its already coded but calculations are wrong ad i dont know how to fix them. If u look at it. It should be fairly simple. Page 137 3rd from last. Its my last npc please someone >.< And I have co emu shit in my source LOTF all sorts of stuff. This is the last npc and its kickin my ass right now. Someone check page 137 and give me correct cal's =(* and im done bothering everyone. And as for kiyono give me a god damn break. All u do is shout at peoples damn your annoyin.
01/23/2010 00:52 lukejonesy#1369
Quote:
Originally Posted by snow118 View Post
Ok pro4never. Ive done edited the co emu on this forum. Ive done everything to the T. All set up. Black screens are now loaded up both of them. Saying system ready and the other login server is on to. I load conquer client on patch 5095 from this forum download. i make character it even says on the login server password saved which means i need to relog. I relog and it just says loading. And on the game server says it timed out or something. Basically my log in has timed out. Now i aint got a clue. Ive been on this thing for what.... 3 days now for a good 5 to 6 hours daily hours and its just one problem after another. Do you know why this time out thing is happeneing. =( im seriously getting bored of trying
I'm no expert, but i believe you cnt login because.. have you tried a client v5101? i belive its a patch 5101 source meaning you either need to patch up the 5095 source to 5101 or find a client already 5101. if it works, then may i ask for your help setting it up? pm with news or just post back here

~Trying to help~
~hope i helped~

=D
01/26/2010 02:41 snow118#1370
How do i reduce the spawns on my flat file source. 5165. Has some co emu npcs and commands so cant say its not co emu :P. How do i reduce spawns slighty. There huge. I just wanna reduce them slightly.. Also my server when i jump and my brother jump it looks like were speeding. is that cusa we have real low ping and i hosting server or cus ive added a new interface. Or is it a bad problem other people are gonna have >.</

thanks if u can help !
01/26/2010 02:57 pro4never#1371
Again, this is a support thread for 5095. The one you are using is presumably a custom source you bought meaning we cannot support it for you (as we have never used it and don't know the inevitable problems and bugs associated with it)

That being said. It should simply be a matter of changing/removing some of the spawns in your database. That's one of the MANY reasons I don't like using ini/dat files for database. Makes removing things a pain unless you bother writing your own script for string manipulation based on the structure of your files.
01/26/2010 17:46 djparody#1372
help i try to connect to login server it trys to connect to some one elses database i have changed everything ?
01/26/2010 19:43 pro4never#1373
If it's not connecting to the database then you didn't change everything.

Database>Databaseconnection.cs. It has to be edited both in game server AND login server to your correct information (make a test connection in navicat to make sure you have the right info)

Then debug them both and run them again. Should solve the problem.
01/28/2010 09:11 snow118#1374
Removed.

Korv~
01/28/2010 10:29 pro4never#1375
reported again for spam and incorrect section (not to mention that it has nothing to do with this thread or source, let alone the section)
01/28/2010 16:35 Jedex#1376
When I run the .exe it takes forever to load :(
01/28/2010 21:37 pro4never#1377
Are you loading all the dmaps? How long is "forever"? The more maps you load the longer it's going to take. Personally it takes like 30-40 sec to finish loading game server for me seeing as I'm working off my laptop. Way longer though if virus scans or something are running. Check that you don't have a bunch of other programs running cause it really does hog resources while trying to load the dmaps.
01/29/2010 06:14 snow118#1378
Getting help on elite pvpers is like the eclipse. EXREMELY RARE. And makes your jaw drop when you see it. I am offering to everybody now any help they need with this source. Or the 5165 - powerco- steel pack and other sources. I have almost all of them and have most npcs for almost all sources out. If i aint got i know someone who has.. SO im offering free help to anyone and u dont even have to say thanks.. Just add my msn [Only registered and activated users can see links. Click Here To Register...] & i will help you with whatever you need. Your probably thinkin why would someone do this on elite pvpers.. Well im the eclipse. When i needed help because i was new to visualc# and coding nobody wanted to help or share information. Alot of people just take the P*ss out of you. I know what it feels like and i wanna help people not have to go through the same horse sh**. So if u want help message me what u need or add me and ill do what i can. Thanks alot epvpers. For absolutley nothing. x x x
01/29/2010 10:14 tommy12345#1379
look guys here's a simple instruction for the noobs just fix everything the way the guide says but debug everything that you work on i didnt even have to finish the steps on the guide i just put in the basic needed info to run the login and game server and hit debug on both and they popped up an ran just fine for me so thats all that is really needed btw theres a guided video on how to do it on here somewere when i find it again ill give the link for it it shows you exactly how to do itand heres a better C# program for the noops its better then visual here is the link :) download the one that says download for sharpdevelop 3.1

[Only registered and activated users can see links. Click Here To Register...]
01/31/2010 20:35 hunterman01#1380
I still think this source should be stickied that way we can hopefully get rid of the 5165

#request sticky