[RELEASE] My server files

Page 16 of 18 FirstFirst ... 689101112131415161718 LastLast
Results 226 to 240 of 267
  1. #226
    Account Upgraded | Title Enabled! Infamous is offline
    MemberRank
    Nov 2007 Join Date
    .....Location
    286Posts

    Re: [RELEASE] My server files

    .....
    Last edited by Infamous; 11-02-18 at 07:57 PM.

  2. #227
    Enthusiast Tarouka is offline
    MemberRank
    Oct 2006 Join Date
    27Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by Infamous View Post
    No; He's right, System.Threading.Timer is MUCH simpler and more efficent than System.Timer.

    It relies straightly on the native createtimer and killtimer asoon as it's called and doesn't do background work. The sleep thing that fsock posted is intresting, I've never seen something like that outside of C++ (I think he also ment about the "From C++ part" is that he converted it, because thats neither .net C++ or general C++ :P).

    Relying on a ton of timers (i.e. one for each player) is ALOT more important than working about memory or cpu. The System.Timer and System.Windows.Form timer is EXTREMELY dangerous if it crashes, and it occupies more memory (and cpu) than the System.Threading timer.

    I've got no idea wtf Tarouka posted is xD, I've never liked Monitor.Enter/Exit.
    What you'd recommend other than Monitor.Enter/Exit/lock? Its a part of my server which is asynchronous (working on an AccountServer).

    Between, anyone have something to capture packets (due to proxies being unavailable). I thought doing a simple one of my own... but just checking if it would be a waste of time. Tried with ethereal, but its would be a pain in the arse to decrypt the packets manually...

  3. #228
    Account Upgraded | Title Enabled! Infamous is offline
    MemberRank
    Nov 2007 Join Date
    .....Location
    286Posts

    Re: [RELEASE] My server files

    .....
    Last edited by Infamous; 11-02-18 at 07:57 PM.

  4. #229
    Valued Member xEnt is offline
    MemberRank
    Nov 2006 Join Date
    100Posts

    Re: [RELEASE] My server files

    You sure 1 milisecond is ok? thats still a thousand loops a second, id do something like 5. even 20 you would never see a difference.

    Last bunch of posts have been the most interesting read on this forum I've seen yet, a community talking with each other about efficiency is good.

    I have a friend who is good with C++ and has made a few hooks in his time, ill talk to him about it.

    While we are on the subject of C++, has anyone made a conquer server in C++ (not managed C++) ?

  5. #230
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by xEnt View Post
    You sure 1 milisecond is ok? thats still a thousand loops a second, id do something like 5. even 20 you would never see a difference.

    Last bunch of posts have been the most interesting read on this forum I've seen yet, a community talking with each other about efficiency is good.

    I have a friend who is good with C++ and has made a few hooks in his time, ill talk to him about it.

    While we are on the subject of C++, has anyone made a conquer server in C++ (not managed C++) ?
    umm boneyou did i believe lol alltho idk if he's still even working on it becuz it seems that he isnt but like i said idk ud have 2 ask him about that :P

  6. #231
    Account Upgraded | Title Enabled! JoshuaX is offline
    MemberRank
    Jan 2007 Join Date
    225Posts

    Re: [RELEASE] My server files

    yeah boneyou made the first c++ server. its called XSCO

  7. #232
    Account Upgraded | Title Enabled! Ultimatum is offline
    MemberRank
    Feb 2008 Join Date
    EnglandLocation
    334Posts

    Re: [RELEASE] My server files

    You learn something new everyday xD, ill have a go at the threading.Timer if i ever go back to coding in c#. FSock no i aint researched all the DLL's but i will now iv learnt that the Threading.timer is more efficent. See i only believe it if infamous agrees or someone like korvacs and stu. lol

  8. #233
    Novice Kutter is offline
    MemberRank
    Jun 2008 Join Date
    3Posts

    Re: [RELEASE] My server files

    wicked love it dude thanks its idiot prof :poster_ss

  9. #234
    Member diegoalefru is offline
    MemberRank
    Jun 2007 Join Date
    72Posts

    Re: [RELEASE] My server files

    I need a site, creates Accounts, please help me, post a site to create accounts.

    Help me

  10. #235
    Member Lateralus is offline
    MemberRank
    Apr 2008 Join Date
    Louisiana, USALocation
    51Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by hadeset View Post
    Could you post me the m-atk calculation formula depending on m-def? :P
    I would really be happy. =)
    (M-atk * Percentage M-def) - Item addition of M-def

    Then round the final result..


    Example - (378 * .63) - 87 = 151.14 = 151

  11. #236
    Account Upgraded | Title Enabled! Infamous is offline
    MemberRank
    Nov 2007 Join Date
    .....Location
    286Posts

    Re: [RELEASE] My server files

    .....
    Last edited by Infamous; 11-02-18 at 07:57 PM.

  12. #237
    Member Lateralus is offline
    MemberRank
    Apr 2008 Join Date
    Louisiana, USALocation
    51Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by Infamous View Post
    wrong
    No, that's right. o.O Correct me.

  13. #238
    Proficient Member bumanzuber2010 is offline
    MemberRank
    Apr 2008 Join Date
    on the corner next to your momLocation
    170Posts

    Re: [RELEASE] My server files

    i was thinkin about makin a register, like edit the source so it reads the accts from 1 single txt document, so like it would have like this

    [Account1]
    AccName=asdfas
    Password=24911861071192311691921111612849120181132112
    LogonCount=3
    LogonType=1
    Flags=8
    Character=TESTER

    [Account2]
    AccName=asdfas
    Password=24911861071192311691921111612849120181132112
    LogonCount=3
    LogonType=1
    Flags=8
    Character=TESTER

    and then use the register.php and checkreg.php from like the mysql sources and have it in the appserv and have the server in appserv and edit checkregister.php so it inserts like a line of text like insert [Account' ']
    Acctname=' '
    Password=
    LogonCount=
    LogonType=
    Flags=0

    type thing anyone kno wat im getting at?is it even possible?cuz i think its kinda logical if u get wat im saying cuz normal line of insert is

    sql = "INSERT INTO accounts VALUES ('$_POST[regwho]', '', '1', '1', '')";
    mysql_query($sql)
    or die('Error: ' . mysql_error());
    echo 'Registration successful. You may now log into Conquer private server.';
    echo '<BR><BR>';
    echo 'Have a nice day ' . $_POST['regwho'] . '.';
    }
    ?>

    for a mysql database

  14. #239
    Account Upgraded | Title Enabled! Infamous is offline
    MemberRank
    Nov 2007 Join Date
    .....Location
    286Posts

    Re: [RELEASE] My server files

    .....
    Last edited by Infamous; 11-02-18 at 07:56 PM.

  15. #240
    Account Upgraded | Title Enabled! Korvacs is offline
    MemberRank
    Jan 2008 Join Date
    298Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by Lateralus View Post
    (M-atk * Percentage M-def) - Item addition of M-def

    Then round the final result..


    Example - (378 * .63) - 87 = 151.14 = 151
    so wrong its embarressing



Advertisement