rawn3cr0

Member
  • Content Count

    61
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rawn3cr0

  • Rank
    Friendly

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. rawn3cr0

    open Mob bug attack

    Hey guys, I use mainline source, and most of the mobs dont attack me. I mean I get the damage, but only 2-3 mobs come to me and do it visually, mostly they're just standing on their own place without doing anything (but I also get their damage too). Why does it happen? Thanks in advance!
  2. rawn3cr0

    Problem with player information

    I have this problem to in Fliege clean serverfiles. Not saving caracter position after exit. How i can solve this?
  3. rawn3cr0

    open Sash and Mount costume

    After i implement sahs sistem by lent Sash is move to Mount slot. Mount not work and have absortion. https://imgur.com/a/GDi9U7Wgametype.h client #ifdef ENABLE_COSTUME_SYSTEM const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19; // [ÁÖÀÇ] ¼ýÀÚ(19) ÇϵåÄÚµù ÁÖÀÇ. ÇöÀç ¼­¹ö¿¡¼­ ÄÚ½ºÃõ ½½·ÔÀº 19ºÎÅÍÀÓ. ¼­¹ö common/length.h ÆÄÀÏÀÇ EWearPositions ¿­°ÅÇü Âü°í.  const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0; const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;  const DWORD c_Costume_Slot_Mount = c_Costume_Slot_Start + 2; const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3;  const DWORD c_Costume_Slot_Count = 4; const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count;  #endif
  4. rawn3cr0

    [RLS]Private Shop Search System

    For normal shop work good but for offlineshop not... [TestEMPP] isn't shop owner Syserr NOTHING
  5. rawn3cr0

    [RLS]Private Shop Search System

    @PACI I tried but nothing...
  6. rawn3cr0

    [RLS]Private Shop Search System

    Relase date 11.04.2016 Now date 27.01/2019 And still waiting for fix this system (ken offlineshop)
  7. rawn3cr0

    open Shop search edit

    How i can modify this code from this: To this: void CInputMain::PrivateSearch(LPCHARACTER ch, const char * data) { struct packet_private_search * pinfo = (struct packet_private_search *) data; const char* Item_Search = pinfo->item_name; //Nombre Recibido int Item_Gold = pinfo->item_gold; if (strlen(Item_Search) == 0){ ch->ChatPacket(CHAT_TYPE_INFO,"[Shop Search] No ha colocado ninguno nombre."); return; } if (Item_Gold < 0){ ch->ChatPacket(CHAT_TYPE_INFO,"[Shop Search] Coloque un valor mayor a 0"); return; } if (Item_Gold > 2000000000){ ch->ChatPacket(CHAT_TYPE_INFO,"[Shop Search] Coloque un valor menos de 2kkk"); return; } int check = 0; int check_0 = 0; char szQuery[1024]; snprintf(szQuery, sizeof(szQuery),"SELECT * FROM player.offline_shop_item WHERE status=0 and mapIndex=%d",ch->GetMapIndex()); std::auto_ptr<SQLMsg> pMsg(DBManager::Instance().DirectQuery(szQuery)); std::auto_ptr<SQLMsg> pMsg1(DBManager::Instance().DirectQuery(szQuery)); if (pMsg->Get()->uiNumRows > 0) { //Check si no existe ningun item con ese nombre while (MYSQL_ROW row_check = mysql_fetch_row(pMsg1->Get()->pSQLResult)) { const char * Item_Totales_0 = row_check[43]; //Nombres Tablas const char * Item_Vnums_0 = row_check[4]; //Vnums Tablas const char * Item_Gold_0 = row_check[41]; //Gold Tablas DWORD Vnum_Item_0 = 0; str_to_number(Vnum_Item_0, Item_Vnums_0); //Convierte el vnum de string a numero entero int Gold_Item_0 = 0; str_to_number(Gold_Item_0, Item_Gold_0); //Convierte el vnum de string a numero entero if (strstr(Item_Totales_0, Item_Search)){ check++; } if (Item_Gold > 0){ if (Gold_Item_0 <= Item_Gold){ check_0++; } } } if(check == 0){ ch->ChatPacket(CHAT_TYPE_INFO,"[Shop Search] No se encuentra ningun item con ese nombre."); return; } if (Item_Gold > 0){ if(check_0 == 0){ ch->ChatPacket(CHAT_TYPE_INFO,"[Shop Search] No existe ningun item con ese valor."); return; } } while (MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult)) { const char * Item_Totales = row[43]; //Nombres Tablas const char * Item_Vnums = row[4]; //Vnums Tablas const char * Item_Gold_1 = row[41]; //Gold Tablas DWORD Vnum_Item = 0; str_to_number(Vnum_Item, Item_Vnums); //Convierte el vnum de string a numero entero int Gold_Item = 0; str_to_number(Gold_Item, Item_Gold_1); //Convierte el vnum de string a numero entero if (strstr(Item_Totales, Item_Search)){ if (Item_Gold > 0){ if (Gold_Item <= Item_Gold){ ch->ChatPacket(CHAT_TYPE_COMMAND, "PrivateSearch_ItemsSearch %d",Vnum_Item); ch->ChatPacket(CHAT_TYPE_COMMAND, "PrivateSearch_RefreshItems"); } }else{ ch->ChatPacket(CHAT_TYPE_COMMAND, "PrivateSearch_ItemsSearch %d",Vnum_Item); ch->ChatPacket(CHAT_TYPE_COMMAND, "PrivateSearch_RefreshItems"); } } } } } Best regards.
  8. rawn3cr0

    open Change quest

    @WeedHexIm n00b in lua but in c++ xD
  9. rawn3cr0

    open Change quest

    So i have 2 quest. First for VIP users and another for PREMIUM users. How i can change this for:  When I am a VIP user and I want to become a PREMIUM user to disable the VIP user and his bonus and become Premium user. And vice versa.   For VIP --[[ ########################### # Author: VegaS # # Skype: sacadatt.amazon # # Date: 09/09/2016 # # Work time: 14 min # # Quest: Function get VIP # ########################### ]] quest vip begin state start begin function Time() local mTime = 60 --[[ From here change during the general, as the degree of vip to last until the end, and how long to take the bonus, here means 30 day's.]] --local mTime = 60*60*24*30 --[[ From here change during the general, as the degree of vip to last until the end, and how long to take the bonus, here means 30 day's.]] return mTime end function GetValue() local mValue = { (pc.getqf("used_vip")), (pc.getqf("time_vip")) } --[[ Get value as it is, and use during a vip. ]] return mValue end function SetBonusVIP() --[[ This sets the bonuses when you accept the VIP. ]] affect.add_collect(apply.MAX_HP, 5000, vip.Time()) --[[ This sets a bonus as long as VIP is active, you can add what bonus you want, and a lot a bonus. ]] -- // ................ // -- end function Resetvip() --[[ This reset your VIP when expired. ]] pc.delete_vip()  --[[ This reset your VIP when expired. ]] pc.setqf("time_vip", 0) --[[ Set time expired to 0 ]] pc.setqf("used_vip", 0) --[[ Set you used the VIP as 0, you can use again. ]] syschat("<Debug> Time of vip expired!") end function SetVIP() pc.set_vip() --[[ It inserts in grade gmlist your VIP table and you do refresh this degree + vip's emblem. ]] pc.setqf("used_vip", 1) --[[ Set quest value used, you will not be able to use this item until vip degree will not expire. ]] pc.setqf("time_vip", get_time() + vip.Time()) --[[ Set the time until it expires. ]] notice_all("<Debug> Player "..pc.get_name().." obtained the degree of VIP!") --[[ Tell all players as you become a VIP player. ]] vip.SetBonusVIP() --[[ Set the bonus ]] end when login with vip.GetValue()[1] > 0 and pc.is_vip() begin if get_time() > vip.GetValue()[2] then vip.Resetvip() --[[ This vip resets when during the (example) 30 day's has expired. ]] end end -- when login with pc.get_channel_id() == numberChannel and not pc.is_vip() and vip.GetValue()[1] < 1 begin --[[ If u login in channel xx and you not are vip, will be disconnect. For who want to make special channel for vip ^^ ]] -- syschat("<Debug> You cannot login in this channel, this is special for V.I.P !") -- pc.pc_disconnect_with_delay(5) -- end  when 40002.use begin if pc.countitem(item.get_vnum()) == 0 then --[[ Check in case you have no item in the inventory. ]] return syschat("<Debug> I could not find item!")  elseif pc.is_vip() then --[[ Check if you have not used once this quest or if you have not already vip vip degree attached. ]] return syschat("<Debug> You have already used this quest, and you own vip degree!") elseif not pc.can_warp() then --[[ Check a few windows open last time, and then will have to wait 10 seconds. ]] return syschat("<Debug> Close all windows, and wait 10 seconds!") end say_title("VIP:") say("You are sure want to be a VIP?") say("") local choice = select("Yes,of course", "No, maybe later") if choice == 1 then --pc.remove_item(item.get_vnum(), 1) --[[ Delete item when you accept the vip ]] vip.SetVIP() --[[ Global function for set vip ]] else say("Ok, bye. See later.") --[[ If you choose 2, meaning 'No,maybe later'. ]]  end end end end For PREMIUM --[[ ########################### # Author: VegaS # # Skype: sacadatt.amazon # # Date: 09/09/2016 # # Work time: 14 min # # Quest: Function get P1 # ########################### ]] quest p1 begin state start begin function Time() --local mTime = 60*60*24*30 --[[ From here change during the general, as the degree of vip to last until the end, and how long to take the bonus, here means 30 day's.]] local mTime = 60 --[[ From here change during the general, as the degree of vip to last until the end, and how long to take the bonus, here means 30 day's.]] return mTime end function GetValue() local mValue = { (pc.getqf("used_p1")), (pc.getqf("time_p1")) } --[[ Get value as it is, and use during a vip. ]] return mValue end function SetBonusP1() --[[ This sets the bonuses when you accept the VIP. ]] affect.add_collect(apply.MAX_HP, 1000, p1.Time()) --[[ This sets a bonus as long as VIP is active, you can add what bonus you want, and a lot a bonus. ]] -- // ................ // --  end function Reset1() --[[ This reset your VIP when expired. ]] pc.delete_p1() --[[ This reset your VIP when expired. ]] pc.setqf("time_p1", 0) --[[ Set time expired to 0 ]] pc.setqf("used_p1", 0) --[[ Set you used the VIP as 0, you can use again. ]] syschat("<Debug> Time of PREMIUM 2 expired!") end function SetP1() pc.set_p1() --[[ It inserts in grade gmlist your VIP table and you do refresh this degree + vip's emblem. ]] pc.setqf("used_p1", 1) --[[ Set quest value used, you will not be able to use this item until vip degree will not expire. ]] pc.setqf("time_p1", get_time() + p1.Time()) --[[ Set the time until it expires. ]] notice_all("<Debug> Player "..pc.get_name().." obtained the degree of PREMIUM 1!") --[[ Tell all players as you become a VIP player. ]] p1.SetBonusP1() --[[ Set the bonus ]] end when login with p1.GetValue()[1] > 0 and pc.is_p1() begin if get_time() > p1.GetValue()[2] then p1.Reset1() --[[ This vip resets when during the (example) 30 day's has expired. ]] end end -- when login with pc.get_channel_id() == numberChannel and not pc.is_vip() and vip.GetValue()[1] < 1 begin --[[ If u login in channel xx and you not are vip, will be disconnect. For who want to make special channel for vip ^^ ]] -- syschat("<Debug> You cannot login in this channel, this is special for V.I.P !") -- pc.pc_disconnect_with_delay(5) -- end  when 40004.use begin if pc.countitem(item.get_vnum()) == 0 then --[[ Check in case you have no item in the inventory. ]] return syschat("<Debug> I could not find item!")  elseif pc.is_p1() then --[[ Check if you have not used once this quest or if you have not already vip vip degree attached. ]]  return syschat("<Debug> You have already used this quest, and you own p1 degree!") elseif not pc.can_warp() then --[[ Check a few windows open last time, and then will have to wait 10 seconds. ]] return syschat("<Debug> Close all windows, and wait 10 seconds!") end say_title("PREMIUM 1:") say("You are sure want to be a PREMIUM 1?")  say("") local choice = select("Yes,of course", "No, maybe later") if choice == 1 then --pc.remove_item(item.get_vnum(), 1) --[[ Delete item when you accept the vip ]] p1.SetP1() --[[ Global function for set vip ]] else  say("Ok, bye. See later.") --[[ If you choose 2, meaning 'No,maybe later'. ]] end end end end Best Regards!
  10. rawn3cr0

    New official pet system

    I fix this with ” folder “ in mob proto
  11. rawn3cr0

    New official pet system

    @Wahmon How you fix?
  12. rawn3cr0

    VIP system

    Same problem...
  13. rawn3cr0

    Add VIP Tail

    You solve this?
  14. rawn3cr0

    [RELEASE] VIP System from SRC

    How i cand to show VIP in front of name , like GM I try in InstanceBaseEffect.cpp With if (IsGameMaster()) show GM in frot of name but if i add if (IsVIP()) don't show VIP ...