[DEV] Sharun Dream's

Page 4 of 10 FirstFirst 12345678910 LastLast
Results 46 to 60 of 145
  1. #46
    Account Upgraded | Title Enabled! cintapw is online now
    MemberRank
    Apr 2011 Join Date
    279Posts

    Re: [DEV] Sharun Dream's

    Quote Originally Posted by firas724 View Post
    Hi, I just want to know if the latest class would be added to the current build, or would the focus be on stability?
    it is sad but all tera development has stoped long time ago.

  2. #47
    Alpha Member Hycker is offline
    MemberRank
    Dec 2010 Join Date
    /root/gameguardLocation
    1,590Posts

    Re: [DEV] Sharun Dream's

    its really sad but i hope @clofriwen release his work in future. looks this emu can beat the rest.

  3. #48
    Enthusiast TheNak is offline
    MemberRank
    May 2014 Join Date
    FranceLocation
    42Posts

    Re: [DEV] Sharun Dream's

    Hope and hope ^^

  4. #49
    Enthusiast clofriwen is offline
    MemberRank
    Oct 2015 Join Date
    FranceLocation
    46Posts

    Re: [DEV] Sharun Dream's

    Hi, long time without can use my computer (my health had deteriorated, but is littely better now).
    Quote Originally Posted by firas724 View Post
    the latest class would be added to the current build ?
    Class on sharun work with this :
    Code:
    enum CLASS {
        WARRIOR=0,
        LANCER,
        SLAYER,
        BERSERKER,
        SORCERER,
        ARCHER,
        PRIEST,
        MYSTHIC,
        REAPER,
        GUNNER,
        BROWLER,
    // NINJA
        CLASS_MAX
    };
    
    int class_mat[] = {
        LEATHER, // Warrior
        METAL, // Lancer
        LEATHER, // Slayer
        METAL, // Berserker
        CLOTH, // Sorcerer
        LEATHER, // Archer
        CLOTH, // Priest
        CLOTH, // Mysthic
        LEATHER, // Reaper
        METAL // Gunner
    // here was Browler
    // here was Assassin (Ninja :D)
    };
    
    // HP_CLASS_MOD same order than class_mat
    float HP_CLASS_MOD[] = {
        1.057F,
        1.057F,
        1.057F,
        1.0575F,
        1.058F,
        1.057F,
        1.0581F,
        1.0581F,
        1.057F,
        1.0575F,
        1.0575F
    // here was Ninja
    };
    And must add Stats in Database :
    Code:
    INSERT INTO `template` (Class_ID, Race_ID, Sex, Mod, Name, Value, Server_ID) VALUES (-1, -1, -1, -1, ???, 35.2, 0);
    `template`.`Name` values is Stat_Name in src/Stat.h :
    Code:
    enum Stat_Name {
        maxHP,
        maxMP,
        regHp,
        regMp,
        powerFactor,
        defenceFactor,
        impactFactor,
        balanceFactor,
        atkSpd,
        runSpd,
        critRate,
        critRcpt,
        critDmg,
        stunRcpt,
        weakRcpt,
        dmgRcpt,
        atk,
        def,
        cAtk,
        agrMod,
        healPower,
        STAT_NAME_MAX
    };
    But, i have a problem : have official game/server packet. With sniffer it's too bugged. Well i have begin to create a proxy for tera "Baraka_Proxy", it's a real proxy for tera and can save client/server packet.
    Another problem have make me bad, WINDOWS ! This ... false OS can't access to a thread from another thread without corrupt it (2 weeks to try correct it !). I think i will make Sharun only for linux and will not have ability to start tera client in localhost mode. (My Elin Launcher will continu to start it's like i want, update/self-update/file check/start client)

    My projet (Sharun Dream's / Elin Launcher / Baraka Proxy) is on Git, but i have to continu Baraka_Proxy, without it, i don't think i will can to continu Sharun, i really need official packet and correct order of this.
    Last edited by clofriwen; 02-06-16 at 06:23 PM.

  5. #50
    Alpha Member Hycker is offline
    MemberRank
    Dec 2010 Join Date
    /root/gameguardLocation
    1,590Posts

    Re: [DEV] Sharun Dream's

    Only linux? LOVLEY. My opinion is.... When a developer compile a serverside to wincrap somewhere a little bunny gonna cry. Keep it up!

    Tapatalkkal küldve az én LG-D802 eszközömről

  6. #51
    Enthusiast clofriwen is offline
    MemberRank
    Oct 2015 Join Date
    FranceLocation
    46Posts

    Re: [DEV] Sharun Dream's

    Baraka_Proxy begin to work, actually, he give "servers/list.en", but net stream and recod will come.

    How to set Baraka_Proxy ? Edit (in admin mode) "C:\Windows\System32\drivers\etc\hosts" and add this line :
    Code:
    127.0.0.1                   sls.service.enmasse.com    # TERA US
    127.0.0.1                   web-sls.tera.gameforge.com # TERA EU
    127.0.0.1 can be change by another IP.

    Support of Baraka_Proxy is Private server ans US server. [STRIKE]For EU server, i need "servers/list.en" full url path.[/STRIKE] (and actually work on windows 7)

    [STRIKE] Bad news... It's a epic fail... Windows have restarted while i dev, and he have lost all my Baraka_Proxy Data .[/STRIKE] Back to Linux, and test with laptop :$

    Previous data is back and work. Baraka_Proxy is now give servers/list.xml auto-generated (from internal list) and give IP connection (to him) after a detection of network connexion (localhost, intranet & internet).
    Internet IP was take from internal or go on Current IP Check to get current Internet IP.

    Internet IP can be fixed inside exe realy easy :
    Code:
    baraka_proxy.exe --set xxx.xxx.xxx.xxx
    will give a exe (baraka_proxy_fixed.exe) with internal ip fixed at xxx.xxx.xxx.xxx.
    Code:
    baraka_proxy.exe --del
    will give a exe (baraka_proxy_clenaned.exe) without internal ip, and will use internet to find it.

    I have try to connect official game US under official launcher US to baraka_proxy, and it's chat ! But stop before login, need more work. This official game US under official launcher US show offical server US, with a localhost server + 2 DEV servers + a Test server, in server list.

    Baraka_Proxy startup... :
    Code:
    clofriwen@........ ~/.../Baraka_Proxy $ ./Baraka_Proxy_fixed 
    main (179) :: Init Ok.
    OpCodes_Init (71) :: 5 Groups of OpCodes Loaded.
    HTTP_Init (45) :: Get IP for Intranet...
            192.168.0.51
    HTTP_Init (70) :: Get IP for Internet (from internal)...
            1.2.3.4
    
    Network_Run (164) :: Network Started (ANY : 8080).
    Network_Run (164) :: Network Started (ANY : 14751).
    Network_Run (164) :: Network Started (ANY : 4566).
    Network_Run (164) :: Network Started (ANY : 14753).
    Network_Run (164) :: Network Started (ANY : 14752).
    Network_Run (164) :: Network Started (ANY : 14755).
    Network_Run (164) :: Network Started (ANY : 14754).
    Network_Run (164) :: Network Started (ANY : 14756).
    Network_Run (164) :: Network Started (ANY : 14757).
    Network_Run (164) :: Network Started (ANY : 14758).
    Network_Run (164) :: Network Started (ANY : 14759).
    Network_Run (164) :: Network Started (ANY : 14760).
    Network_Run (164) :: Network Started (ANY : 14761).
    Network_Run (164) :: Network Started (ANY : 14762).
    Network_Run (164) :: Network Started (ANY : 14763).
    Network_Run (164) :: Network Started (ANY : 14764).
    Network_Run (164) :: Network Started (ANY : 14765).
    Network_Run (164) :: Network Started (ANY : 14766).
    Network_Run (164) :: Network Started (ANY : 14767).
    Network_Run (164) :: Network Started (ANY : 14768).
    Network_Run (164) :: Network Started (ANY : 14769).
    Network_Run (164) :: Network Started (ANY : 14770).
    Network_Run (164) :: Network Started (ANY : 14771).
    
    Welcome on "Baraka Proxy" (ver. 1.0.0)
    Ready to work !
    All "Network_Run (164) ::" was a thread.
    Last edited by clofriwen; 13-06-16 at 06:57 PM.

  7. #52
    Proficient Member Luciole is online now
    MemberRank
    Dec 2015 Join Date
    上海-ShanghaiLocation
    162Posts

    Re: [DEV] Sharun Dream's

    This is a really good job :o
    I think is the link needed for EU server : http://web-sls.tera.gameforge.com:4566/servers/list.en

  8. #53
    Enthusiast clofriwen is offline
    MemberRank
    Oct 2015 Join Date
    FranceLocation
    46Posts

    Re: [DEV] Sharun Dream's

    I have release Baraka_Proxy, it work good in my home. I have use it to log on official "Lake of Tears" in Velika, and Baraka have saved arround 7000 files before i dislog.

  9. #54
    Proficient Member Luciole is online now
    MemberRank
    Dec 2015 Join Date
    上海-ShanghaiLocation
    162Posts

    Re: [DEV] Sharun Dream's

    I've tested it and it's a very good jobs, thanks !
    It will be very helpful for development :) (I've saved ~63k files)

  10. #55
    Account Upgraded | Title Enabled! TieLay is online now
    MemberRank
    Jan 2011 Join Date
    RussiaLocation
    675Posts

    Re: [DEV] Sharun Dream's

    Baraka_Proxy for what? it's packet sniffer or worked server?

  11. #56
    Enthusiast clofriwen is offline
    MemberRank
    Oct 2015 Join Date
    FranceLocation
    46Posts

    Re: [DEV] Sharun Dream's

    Quote Originally Posted by TieLay View Post
    Baraka_Proxy for what? it's packet sniffer or worked server?
    It's a proxy (can allow help to connect at tera if your country IP was banned/blocked) and can save packets into files.
    1 packet = 1 file. 1 Game sniffer (client + server) = 1 direcrtory.
    The proxy/sniffer work without WinCAP because it's a direct connexion : Server <----> Baraka <----> Client.

    Baraka_Proxy is not a Server.
    Can work without OpCodes.
    But, if your need/want/Understand saved packets, a OpCodes directory can help (allow it if you have added all versions needed)
    Can work with 2+ OpCodes files (detect your game version).
    Some new feature added soon (dynamic input port), embedded saved options more fonctionnal...
    Last edited by clofriwen; 15-06-16 at 09:27 PM.

  12. #57
    Enthusiast waaza is offline
    MemberRank
    Sep 2008 Join Date
    42Posts

    Re: [DEV] Sharun Dream's

    Any news ? Does someone still works on it ?

  13. #58
    Enthusiast clofriwen is offline
    MemberRank
    Oct 2015 Join Date
    FranceLocation
    46Posts

    Re: [DEV] Sharun Dream's

    I'm still work on it, but, i need correct official packet to continue, and packet sniffer can't give it.
    It's why, i have created Baraka_Proxy, and release it, because can help someone.
    You can see date of lastest post on top of name (i have give some news this last 3 day) ;)

  14. #59
    Enthusiast clofriwen is offline
    MemberRank
    Oct 2015 Join Date
    FranceLocation
    46Posts

    Re: [DEV] Sharun Dream's

    Sharun project take a little break, i will rewrite him and convert a lot of C part to C++, replace WIN32_Thread & WIN32_Mutex by PThread_WIN32 (i have a better result under windows with it), and add OpCodes_Function as plugin but skills will be a plugin too. But for to do this, i will have to rewrite OpCodes Manager from scratch.

    I will try to do a plugin (windows = dll, linux = so) can have more of one OpCode_function in same plugin, and can add a new class without recompile Sharun.

    A new ability will be created too : OpCodes_Promoter him work will be convert a old OpCode to a new and a new to a old.

    Actual OpCodes system don't allow to add a new OpCode and can be compile with GNU/Make or MinGW32/Make. OpCodes_Manager will allow new OpCode.

    Plugin system will be based on libdlfcn.
    A plugin integrity check (MD5) can be add if someone would like it.

  15. #60
    Valued Member kinvao is offline
    MemberRank
    Oct 2014 Join Date
    108Posts

    Re: [DEV] Sharun Dream's

    So the idea is to make a system that allows you to change the opcodes just changing some files and restarting the server? And the same for the skills?
    I didnt get a strong idea about how you could use those plugins once the system is made... You could code skills/classes, compile it and add into Sharun?



Advertisement