Welcome to the RaGEZONE - MMORPG development forums.

Ask Mootie - Question & Answer Thread

This is a discussion on Ask Mootie - Question & Answer Thread within the FlyFF Help forums, part of the Flyff category; Here you may ask questions(that fall into the categories below), and I will answer to the best of my vast ...

Page 1 of 8 12345678 LastLast
Results 1 to 15 of 120
  1. #1
    Monster
    Rank
    Member +
    Join Date
    Apr 2009
    Posts
    1,454
    Liked
    469

    Ask Mootie - Question & Answer Thread

    Click
    Here you may ask questions(that fall into the categories below), and I will answer to the best of my vast knowledge of Flyff Private Servers.

    Question Categories(Development):
    • C++/lua Flyff Development - Intermediate/advanced only, I won't answer questions regarding anything too small/specific, but I will answer questions regarding large custom changes
    • Anti-Hack Development - Server-sided and Client-sided, don't ask how to block specific exploits
    • Performance Improvements - I specialize in improving performance of the server and client while maintaining core server-sided security


    Question Categories(Administration):
    • Windows Server Administration - Firewalls, user permissions, remote management, disk partitioning, bottlenecks, etc
    • DDoS Mitigation - Mitigation of any type/volume of flooding
    • Network Security - Some examples: Internal/External Network Firewalls, SSL or any other network encryption, remote administration permissions, etc
    • Webserver Administration - I have experience with: Litespeed(nix), Lighttpd(nix), Apache(nix), and IIS(windows)
    • MSSQL DBA - Permissions, linux-mssql connections, advanced logging & backups



    What not to ask about:
    • How to make/setup a pserver, windows server, mssql database... pretty much any setup questions I won't answer.
    • How to fix specific crashes
    • Upgrading to vs2010(I've posted enough info about this already)
    • Things you could figure out yourself by googling for 30minutes


    I'll improve this post when I get the chance.
    Last edited by Mootie; 22-03-13 at 02:39 AM.

  2. #2
    4O4
    Дохуя уёбков здесь.
    Rank
    Gamma
    Join Date
    Jul 2007
    Posts
    3,917
    Liked
    2253
    Steam ID: _perplex

    Re: Ask Lethal - Question & Answer Thread

    This topic will be highly moderated by me personally.

    Questions similar to "PLS HALP! Y SERVER NO WORK" will be removed.

  3. #3
    Legendary
    Rank
    Legend
    Join Date
    Feb 2010
    Location
    ::1 (Canada BC)
    Posts
    2,858
    Liked
    1139
    Gamertag: TE Tiger Blood

    Re: Ask Lethal - Question & Answer Thread

    I've actually got one for you that I'd like opinions on the httpd section, the endless battle of litespeed versus apache.

    In the moderate traffic that (Keep in mind possibly higher loads due to sub-par coding) which would you recommend and why if you were to run your own httpd on a server (Because honestly, who is serious about their project and uses shared?) I know in larger implementations Apache is supposed to win out, but I mean no private server is going to be large enough for the statics that you get when googling this shit. Does this make litespeed more efficient or am I lacking info about apache

  4. #4
    Game Developer
    Rank
    Alpha Member
    Join Date
    Jun 2009
    Location
    Nederland
    Posts
    1,646
    Liked
    452

    Re: Ask Lethal - Question & Answer Thread

    @ Anti-Hack Development

    How can i make sure you can't replace a fake dll :)?
    And how is it possible to block address scanning?
    I googled and failed for this
    Need new img
    Watch the power of Aura!

    Like my facebook page and share https://www.facebook.com/EddyMeivogelProjects

  5. #5
    Flyff Developer
    Rank
    Moderator
    Join Date
    Apr 2009
    Posts
    1,903
    Liked
    403

    Re: Ask Lethal - Question & Answer Thread

    Quote Originally Posted by MisterKid View Post
    @ Anti-Hack Development

    How can i make sure you can't replace a fake dll :)?
    I know the ANSWER to that, but the process I have no idea about though.
    Calculate a CRC value of the .dll using an external program and set the result as a variable in Neuz. Then, after Neuz opens the .dll, calculate a new one and compare it against the one you made. That's the process, I don't know how to actually accomplish that though.

    edit: slight security issue I realized after typing that, a client side variable could be modded. You'd have to make it a server side variable which gets requested when Neuz starts. Similar to how MSG_VER works.

  6. #6
    Monster
    Rank
    Member +
    Join Date
    Apr 2009
    Posts
    1,454
    Liked
    469

    Re: Ask Lethal - Question & Answer Thread

    Quote Originally Posted by Dawson View Post
    I've actually got one for you that I'd like opinions on the httpd section, the endless battle of litespeed versus apache.

    In the moderate traffic that (Keep in mind possibly higher loads due to sub-par coding) which would you recommend and why if you were to run your own httpd on a server (Because honestly, who is serious about their project and uses shared?) I know in larger implementations Apache is supposed to win out, but I mean no private server is going to be large enough for the statics that you get when googling this shit. Does this make litespeed more efficient or am I lacking info about apache
    Well, I've used both Apache and Litespeed in the past and can definitely say that without modifying Apache's configuration heavily, Litespeed is much more efficient in terms of resource usage as a HTTPD. However, I'm sure that Apache would be a lot better at resource management with source modifications for performance... I just wouldn't recommend Apache for any mid-sized sites that don't wish to make heavy modifications to its configuration and code.

    The main issue with Litespeed is the security issues I've seen with it. There have been a few 0day exploits and they've all been extremely dangerous(source code exposure). This is surprising as Litespeed is closed source, which makes me worry more about the possible exploits that are still unknown. However, most sites wouldn't have to worry about these issues as long as they stay up-to-date. Litespeed's administration panel is VERY easy to use and makes configuring/log viewing a lot more user-friendly than editing Apache config files.

    Quote Originally Posted by MisterKid View Post
    @ Anti-Hack Development

    How can i make sure you can't replace a fake dll :)?
    And how is it possible to block address scanning?
    I googled and failed for this
    Well I don't recommend this, but you can provide most of the required DLLs in the client folder and checksum them. However, you probably should do a heuristic scan of the client itself for any strange windows API calls or critical function modification. Themida has a decent method with its xBundler plugin which can check for DLL modification on startup, but that wouldn't stop modification of kernel DLLs that vary based on operating system version. For these I recommend just checking for standard methods of detouring on apis such as WSASend/Recv(for Flyff).
    Adler likes this.

  7. #7
    0xC0FFEE
    Rank
    Alpha Member
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    1,884
    Liked
    551
    Gamertag: MoonLord666

    Re: Ask Lethal - Question & Answer Thread

    If you really need an user-level clientside antihack, compile it into the binary. (using a lib)
    0x61 likes this.
    Quote Originally Posted by DriftCity View Post
    Begging won't help and proof won't be shown. I'm leaving the Flyff Section forever and closing my project.
    missionaccomplished
    I found ragezone exploitses:
    Code:
    http://forum.ragezone.com/?=PHPE9568F34-D428-11d2-A769-00AA001ACF42

  8. #8
    Flyff Developer
    Rank
    Moderator
    Join Date
    Apr 2009
    Posts
    1,903
    Liked
    403

    Re: Ask Lethal - Question & Answer Thread

    Quote Originally Posted by spikensbror View Post
    If you really need an user-level clientside antihack, compile it into the binary. (using a lib)
    That's what I was thinking should be done, although with my limited programming experience I wasn't sure how effective it would be, mainly concerning whether or not it's easily bypassed.

  9. #9
    Monster
    Rank
    Member +
    Join Date
    Apr 2009
    Posts
    1,454
    Liked
    469

    Re: Ask Lethal - Question & Answer Thread

    Quote Originally Posted by spikensbror View Post
    If you really need an user-level clientside antihack, compile it into the binary. (using a lib)
    This is what should usually be done, the reason XorGuard is a dll is because, as of v3, it implemented a global hook. Also, my comment was regarding fake 3rd party DLLs such as a fake directx DLL.

  10. #10
    Flyff Developer
    Rank
    Moderator
    Join Date
    Apr 2009
    Posts
    1,903
    Liked
    403

    Re: Ask Lethal - Question & Answer Thread

    Here's one thing I've been wondering: Is there a good reason for splitting the server into so many programs? My guess is performance, but I'm not entirely sure.

    Also, could you possibly explain the general purpose/job of each of them? Including the lesser known ones (ie. Collection server, monitor, etc.)? I'm currently only using the basic 7, but I was wondering if adding the others would be useful or not.

  11. #11
    Aw... Only 25 characters?
    Rank
    Member +
    Join Date
    Jun 2006
    Location
    %WINDIR%\sys32\
    Posts
    423
    Liked
    160

    Re: Ask Lethal - Question & Answer Thread

    I have one question lol

    Have you figured out a way to change masquerpet's stats dynamically? In the sense of changing them when they're already spawned to make a determinate individual monster stronger on the fly.
    Last edited by .dark.; 22-11-11 at 09:52 AM.
    .
    Proud owner of 6 infractions.
    Scroll for a golden quote...

    Quote Originally Posted by CrashOveride
    I'll re-iterate an old saying on here, "This is not a democracy, it's a dictatorship."
    There is no such thing as "freedom of speech" on a forum, you agree to the ToC when signing up.

  12. #12
    Monster
    Rank
    Member +
    Join Date
    Apr 2009
    Posts
    1,454
    Liked
    469

    Re: Ask Lethal - Question & Answer Thread

    Quote Originally Posted by .dark. View Post
    I have one question lol

    Have you figured out a way to change masquerpet's stats dynamically? In the sense of changing them when they're already spawned to make a determinate individual monster stronger on the fly.
    The CMover class just contains the monster's prop ID and the properties are pulled from memory, so modifying them would modify all monsters of that property. The easiest way would be to just create an extra struct or variable(s) that can be modified to change the monster attack rate, HP, etc. This wouldn't be hard either, I'm sure you could figure it out from there.

    If not, take a look at CMover::GetHitMinMax.


    Quote Originally Posted by ShadowDragon42 View Post
    Here's one thing I've been wondering: Is there a good reason for splitting the server into so many programs? My guess is performance, but I'm not entirely sure.

    Also, could you possibly explain the general purpose/job of each of them? Including the lesser known ones (ie. Collection server, monitor, etc.)? I'm currently only using the basic 7, but I was wondering if adding the others would be useful or not.
    It's not entirely performance, but also organization and scalability.

    AccountServer - Serves as a "controller" type server for the entire login process. It doesn't handle any user requests itself, but it does tell other servers such as certifier how to. Also used for some things such as Adbill.

    Certifier - Certifies the username/password and allows or denies access to login.

    Trans Server(DatabaseServer) - Handles most game-related database transactions. Also caches some things such as guilds and passes to core.

    Core Server - This "Unifies" the individual WorldServers on each cluster. It also passes some data to the WorldServers on startup.

    Login Server - Handles the channel selection, character selection, and 2nd password authorization

    Cache Server - It should be named Proxy Server because that's what it is. The WorldServer holds all the cache while the cache server is what the users connect to.

    World Server - I'm pretty sure you can figure this out.

    The Collection server was meant to be an anti-piracy method, but it didn't work too well since the source was leaked lol. It's pretty useless now especially for a pserver. Monitor server is mainly for administration purposes and it's quite an annoying program tbh due to it's restarting methods. I recommend writing your own if you have time.
    Last edited by Mootie; 22-11-11 at 10:59 AM.

  13. #13
    Flyff Developer
    Rank
    Member +
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    1,457
    Liked
    124

    Re: Ask Lethal - Question & Answer Thread

    Hi xLethal, I saw these thread that you made for Q&A (yesterday) and mm trying to figure out about China Flyff Stuffs because one of my cousin's friend (GaIa Member) told us that all the 7 servers running in China Flyff (Account/Database/Login/World/Cache/ETC..) are combined in 1 or 2 stuffs when the server is running.

    In a clear way (I mean), China Flyff run 1 or 2 server only (idk, what are they) that can run the server without (7 servers stuffs). So my question is "is it possible to make all the 7 servers to 1 or 2 as well same as China Flyff?"

    Hope you to answer this question, clear and understandable..

    Thanks,
    inteL
    Pews likes this.


  14. #14
    Monster
    Rank
    Member +
    Join Date
    Apr 2009
    Posts
    1,454
    Liked
    469

    Re: Ask Lethal - Question & Answer Thread

    Quote Originally Posted by ll inteL ll View Post
    Hi xLethal, I saw these thread that you made for Q&A (yesterday) and mm trying to figure out about China Flyff Stuffs because one of my cousin's friend (GaIa Member) told us that all the 7 servers running in China Flyff (Account/Database/Login/World/Cache/ETC..) are combined in 1 or 2 stuffs when the server is running.

    In a clear way (I mean), China Flyff run 1 or 2 server only (idk, what are they) that can run the server without (7 servers stuffs). So my question is "is it possible to make all the 7 servers to 1 or 2 as well same as China Flyff?"

    Hope you to answer this question, clear and understandable..

    Thanks,
    inteL
    It's possible, but it would be hard to expand it into a cluster system like eFlyff has.

  15. #15
    Goddess
    Rank
    Super Mod
    Join Date
    Jan 2007
    Posts
    10,319
    Liked
    1269

    Re: Ask Lethal - Question & Answer Thread

    Why don't you just answer help threads?

    I think doing a massive question and answer thread like this is a big unorganized mess and not very friendly to the forums search functionality that we are trying to encourage people to use.

    Quote Originally Posted by Error 404 View Post
    This topic will be highly moderated by me personally.

    Questions similar to "PLS HALP! Y SERVER NO WORK" will be removed.
    And you aren't going to watch others?

    Quote Originally Posted by ChewBecca View Post
    omg this made me laugh so much.

    gonna be honest. I skipped every post looking for madi's posts

    just so I can see her Boobs.
    Rest in Peace Akaruz

 

 
Page 1 of 8 12345678 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •