Jump to content

rans

Members
  • Content Count

    358
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by rans


  1. Hi

    its an equipment that will automatically turn of when mapflag pvp,gvg is on

    i've scripted it like this

    set .pvpcheck,2; //meaningless
        while ( .pvpcheck < 5){
        if( getmapflag( strcharinfo(3),mf_pvp ) || getmapflag( strcharinfo(3),mf_gvg ) ){
        sleep2 500;
        message strcharinfo(0), "You can't use Non Pvp/Gvg items on PvP or GvG Maps, Your items will be taken off";
        nude;
        end;
        }
        sleep2 1000;
        }


    i am not sure if my code are right but it works fine. my only doubt if it will cause lags on my server if too many players are wearing it.

  2. Hi,
    I'm planning to create an item that will only work OUTSIDE of pvp and gvg mapflags. so it come to my mind that i can put a loop script in that item. every seconds it will check if the map has pvp or gvg mapflag. now my doubt is will this loop script have an effect on my server? like if every player has the item it will make the server lag? or no change at all?

    thanks in advance for your answers :)


  3. Hi @dastgir 

    The warp hit Delay has a Bug.
    if you are in PvP room and u died twice (Normally if you died twice inside PvP mapflag you will be automatically Warp out.) but in this case the attacker will keep on attacking (normal attack not skill) and the kill counter will keep on counting. 

    it means even if the player is dead the attacker will keep on attacking and gained points because of the warp hit delay preventing the player to warp. (it loops since normal attack is does not stop.)


  4. Can you show screenshot of all 3 consoles when you are trying to login?

    There will be some more error showing why map server can't connect to char

    yes. i was also looking for that too and its strange there is no message coming from map-server when i tried to login.

    [only sometimes when i restart server. the map-server automatically exit with a message of [Fatal Error]: Connection to char-server failed 3.]

     

     

    right now i cant provide screenshot since my server is working after a vps reboot and added delay opening of login-char-map server.


  5. Linux- centos 6.
    not really sure. sometimes server work. sometimes server gets error with 

    [Fatal Error]: Connection to char-server failed 3

    i will try to reboot the vps and see what happen

    Its now working. i've just added 1 second delay opening each server (login-char-map) i dont know why but it seems im not getting the error for now.


  6. Hi,

    I've just updated to latest git herc. as of (11/15/2015)

    And i don't have any errors and i notice there is no message on map server when i am trying to login ( even a error no message)



    Sometimes when i restart server, map-server is automatically closing with this error
    [Fatal Error]: Connection to char-server failed 3.

    after a restart again the map-server will work. but i cant login


  7. Im using the latest git (10/28/15)

     

    The asura damage is still hitting the opponent even the caster is already dead.

    I think this is bug.

     

    Champion A casted asura to Champion B. and Champion B do the same. both 1 Dex so we can see who will finish first his cast. then Champion A casted first Asura but the Asura of Champion B is still hitting Champion B even he is already dead.

     

     

    Sorry for hard explanation.

     

     

    bump

     

     

    up


  8. Hi,

    Can i request modification about absorb spirit. 
    In official RIGHT now HIDE cannot dodge absorb spirit. 
    i want it to make dodgeable by hide. 

    please help. thank you



    Fixed 
     

    open src/map/status.c
     

    find:
     

    // Applies even if the target hides
    if ((skill->get_ele(skill_id,1) == ELE_EARTH && skill_id != MG_STONECURSE) // Ground type
    || (flag&1 && skill->get_nk(skill_id)&NK_NO_DAMAGE && skill_id != ALL_RESURRECTION )) // Buff/debuff skills started before hiding
    hide_flag &= ~OPTION_HIDE;


     

    Then just add this " && skill_id !=  MO_ABSORBSPIRITS "

    It would be look like this:


     

    if ((skill->get_ele(skill_id,1) == ELE_EARTH && skill_id != MG_STONECURSE) // Ground type
    || (flag&1 && skill->get_nk(skill_id)&NK_NO_DAMAGE && skill_id != ALL_RESURRECTION && skill_id !=  MO_ABSORBSPIRITS )) // Buff/debuff skills started before hiding
    hide_flag &= ~OPTION_HIDE;

  9. I've just made up a solution.
    open src/map/status.c
     

    find:
     

    // Applies even if the target hides
    if ((skill->get_ele(skill_id,1) == ELE_EARTH && skill_id != MG_STONECURSE) // Ground type
     || (flag&1 && skill->get_nk(skill_id)&NK_NO_DAMAGE && skill_id != ALL_RESURRECTION )) // Buff/debuff skills started before hiding
    hide_flag &= ~OPTION_HIDE;


    Then just add this " && skill_id !=  MO_ABSORBSPIRITS "

    It would be look like this:



    if ((skill->get_ele(skill_id,1) == ELE_EARTH && skill_id != MG_STONECURSE) // Ground type
     || (flag&1 && skill->get_nk(skill_id)&NK_NO_DAMAGE && skill_id != ALL_RESURRECTION && skill_id !=  MO_ABSORBSPIRITS )) // Buff/debuff skills started before hiding
    hide_flag &= ~OPTION_HIDE;


     

    tested it ^_^

     

    Sorry i dont know how to use box code


  10. Hi there,

    So i transfer a webhost but i got problem. i already set the permission of new ip from my sql (database of vps) but when i try to run the control panel. i got SQLSTATE[HY000] [2002] Connection timed out 

    it seems that my new webhost is not allowing itself to connect on my vps.

    any help?

    Thank you

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.