Jump to content

ѕeмa™

Member
  • Posts

    340
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Posts posted by ѕeмa™

  1. will i dont know c++ anyway

     

    https://metin2.download/picture/Dej0vMg7QsKZFUpRKn69U8226ms6OgPT/.png

     

    + i think for the exp :

        int npc_get_exp(lua_State* L)
        {
            CQuestManager& q = CQuestManager::instance();
            LPCHARACTER npc = q.GetCurrentNPCCharacterPtr();
             
            lua_pushnumber(L, npc->GetExp());
            return 1;
        }
    

    i dont think it's will work anyway !becous npc dont have exp !

    yep u have right but the mobs yes, how can get the exp of one mob when i kill him?

  2. idk but maybe like that :

        int npc_get_hp(lua_State* L)
        {
            CQuestManager& q = CQuestManager::instance();
            LPCHARACTER npc = q.GetCurrentNPCCharacterPtr();
            
            lua_pushnumber(L, npc->GetHPPct());
            return 1;
        }
    

     this is a quest function for get the hp !

    oh i think u dont understand what i mean, i have this function working , but i wanna know how work the function.

     

    I make the GetExp() and doesnt work, and why¿¿¿??? i dont know, but i want know what do the

     LPCHARACTER npc = q.GetCurrentNPCCharacterPtr();
    

    and

    npc->GetHPPct()
    

    where is this defined?

  3. Hi, someonke can explain me how works the connections like this:

    		LPCHARACTER npc = CQuestManager::instance().GetCurrentNPCCharacterPtr();
    		lua_pushnumber(L,npc ? npc->GetHP() : 0);
    

    *EXAMPLE: this go to questmanager.cpp, choose the npc and get the hp from mob_proto

     

    Where is defined the GetHp() from a npc/mob?

     

    and why if i put

    		LPCHARACTER npc = CQuestManager::instance().GetCurrentNPCCharacterPtr();
    		lua_pushnumber(L,npc ? npc->GetExp() : 0);
    

    the GetExp() doesnt work?

     

    I want learn how works, i want learn more about c++.

     

    Thanks.

  4. I think you forgot the .close() doesnt work with cython.

    LoginWindow.__LoadScript.BindObject - <type 'exceptions.AttributeError'>:'pack_file' object has no attribute 'close'
    

    Example:

    file=open("aaa.txt","w")
    file.write("heyy how are u?")
    file.close()

    and how to repair:

    file=open("aaa.txt","w").write("hey i solve the bug")
  5. @ѕeмa™:

    Don't you think that you should let at least a small part of work up to the people? Everybody who is capable of reading at least a bit english or even just using a translator should be able to read the error messaged and thus be able to fix them.

    It's really not that hard.

    yep, you have right xd

  6. Thanks, but  i think you should put a guide of how to repair the errors give the *.py files when you are cythonicing, a lot of people cant use the system if dont know how repair it. <-- this is not going for me, I know how to fix it.

    Only to increase the information in the post.

  7. run:

     

    freebsd-update fetch install

    pkg upgrade

     

    and then try again

    thanks shogun but...

     

    36053f2607c1be3ef7c4a8de6e599136.png539589b4e51a8a214dcf14e13bf75704.pngcb46fb6f89fce346a786e53bce0c658d.png

     

    i did reboot too, but the php doesnt work yet and devil dont found the real package.

     

     

    @koray:

     

    I think devil 1.7.8_18.1 now is not avaible so your updates list is old because now is only 1.7.8_20.1 avaible

    http://pkg.freebsd.org/freebsd:9:x86:64/latest/All/

    i download manually the new package in cd / and unpacket with tar, but the same, i get errors.

  8. Hi , someone know why i have this error?

     

    I'm really desperate

     

    I try install ngnix and php

    from this post:

     

     

    I format the dedicate server 5 or 6 times and i cant install the fucking ngnix or apache with php...

    but when i try install php i get this error.

     

     

    I try solve it with this answer of shogun

     

    http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/3625914-devil-installation-fail.html

     

    but when i try make the pkg i get this error:

     

    a88fdbdc6b9df32ccca73e023a95f63b.png

    Someone can help me with this?? thanks, and sorry for my english.

  9.  

    a8f629c3c5a3219c032e78c496fc0a1b.pngi dont try it, in a few minutes , i go to try it, but i think this will work.

     

    Pet's last hit = 0 drop.

    Great solution bro,

    Next time use brain.

     

    the best soultion = pet drop can get the owner.

     

    ok, when 2 players attack a metin, 2 players get rewards right?

    if the pet dont do the last hit, but the pet attack, both can have drops.

    Great solution bro,

    Next time use brain.

    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.