Jump to content

alin2894

Inactive Member
  • Posts

    192
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by alin2894

  1. Really? I can't find anything ugly about this. Actually the c++ part is very nice. I didn't check on python. And why are you wishing him good luck at his own release? ._. Sometimes I don't understand people...^^ Anyway, the idea behind that is great and I like the c++ part a lot. Oh, and a german sentence slipped through i dont know how to tell u why he is ugly also iam arabic from libya not germany alina wasn't talking to you when he/she wrote this ---> "and a german sentence slipped through " he/she was talking to the topic maker and for the python part : go to uisystem.py in root and search for this tow times self.GetChild("help_button").SAFE_SetEvent(self.__ClickHelpButton) and under it write this self.GetChild("Change_Channel").SAFE_SetEvent(self.__ClickChangeChButton) and after this def __ClickInGameShopButton(self): self.Close() net.SendChatPacket("/in_game_mall") write this Hidden Content 3: change systemdialog.py in uiscript with this Hidden Content and finally go to constnfo.py in root and write this channel = 0 and the python part is over <3 Forgot your post channel for uiscript . For press for change and not anything going on.
  2. I not really understand phase ports, so I port 50000 two core, why should I change? for(int i = 0; i < 4; i++){ //replace with maximum channels -1 actual 1300x - 1330x for(int i2 = 2; i2 < 9; i2++){ //replace with your core values actual 13x02 - 13x08 micha[13*1000 + i*100 + i2] = i+1; in for(int i = 0; i < 4; i++){ //replace with maximum channels -1 actual 1300x - 1330x for(int i2 = 2; i2 < 9; i2++){ //replace with your core values actual 13x02 - 13x08 micha[50*1000 + i*100 + i2] = i+1; right?
  3. ​thank you! I opened constans.cpp, it was my mistake Thank you again!​
  4. Hello m2dev, Does anyone know how to do to see how many players are online all channel? I understand that we must alter the function from cmd_gm.cpp, this exactly: ACMD(do_who) { int iTotal; int * paiEmpireUserCount; int iLocal; DESC_MANAGER::instance().GetUserCount(iTotal, &paiEmpireUserCount, iLocal); ch->ChatPacket(CHAT_TYPE_INFO, "Total [%d] %d / %d / %d (this server %d)", iTotal, paiEmpireUserCount[1], paiEmpireUserCount[2], paiEmpireUserCount[3], iLocal); } class user_func { public: LPCHARACTER m_ch; static int count; static char str[128]; static int str_len; user_func() : m_ch(NULL) {} void initialize(LPCHARACTER ch) { m_ch = ch; str_len = 0; count = 0; str[0] = '\0'; } void operator () (LPDESC d) { if (!d->GetCharacter()) return; int len = snprintf(str + str_len, sizeof(str) - str_len, "%-16s ", d->GetCharacter()->GetName()); if (len < 0 || len >= (int) sizeof(str) - str_len) len = (sizeof(str) - str_len) - 1; str_len += len; ++count; if (!(count % 4)) { m_ch->ChatPacket(CHAT_TYPE_INFO, str); str[0] = '\0'; str_len = 0; } } }; int user_func::count = 0; char user_func::str[128] = { 0, }; int user_func::str_len = 0; Would be amended to show how many players are online on all channels? Kind regards.
  5. yes using vanilla, but there is something: #define PERCENT_LVDELTA(me, victim) aiPercentByDeltaLev[MINMAX(0, (victim + 50) - me, MAX_EXP_DELTA_OF_LEV - 1)]#define PERCENT_LVDELTA_BOSS(me, victim) aiPercentByDeltaLevForBoss[MINMAX(0, (victim + 50) - me, MAX_EXP_DELTA_OF_LEV - 1)] there is not even #define what I have is: const int * aiPercentByDeltaLev = NULL; const int * aiPercentByDeltaLevForBoss = NULL; const int aiPercentByDeltaLevForBoss_euckr[MAX_EXP_DELTA_OF_LEV] = { 1, 3, 5, 7, 15, 30, 60, 90, 91, 92, 93, 94, 95, 97, 99, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 150, 155, 160, 165, 170, 180 };
  6. Hi m2dev, I have a stressful problem..So a level 50 character, if it comes from a stone metin of level 5-10-15 etc they object fall from that stone. Normal character over level 25 to 30 should not have metin stones drop to level 5. Do you know where this problem would be? Sorry for my english.
  7. Hello, where you can change the time between reading books? I mean the time of the wait to read again.
  8. Hello everyone, I have a problem and also a question. I use this pet system: pet_system_lv.lua: Quest: PROBLEM: SYSERR: Jun 3 19:11:07 :: SpawnMob: SpawnMob: no mob data for vnum 0 SYSERR: Jun 3 19:11:07 :: Summon: [CPetSystem::Summon] Failed to summon the pet. (vnum: 0) - So this system works on game 2089, but it does not work on 34k or 40k. I open with notepdat++ game 2089 and searched "pet or Pet" but I found nothing, instead on game 34k or 40k I found. My question is: why on game 2089 does not exist pet system and this works? and on 34k or 40k not work ... I found this in PetSystem.cpp: m_pkChar = CHARACTER_MANAGER::instance().SpawnMob( m_dwVnum, m_pkOwner->GetMapIndex(), x, y, z, false, (int)(m_pkOwner->GetRotation()+180), false); if (0 == m_pkChar) { sys_err("[CPetSystem::Summon] Failed to summon the pet. (vnum: %d)", m_dwVnum); return 0; }
  9. You need to become a VIP member. As normal user, you can't change name.
  10. Contact me, send me you skype id. Or leave a message in private. Sunt roman : Lasa-mi skype in pm.
×
×
  • 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.