-
Posts
110 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Den
-
There are so many ways to "unbug" your polymorph, change party role, autopotion etc. What is happening when you reset party role or autopotion? ComputePoints() is called. While using polymorph marble only ComputeBattlePoints() is called. I've changed it in void CHARACTER::SetPolymorph(DWORD dwRaceNum, bool bMaintainStat) char.cpp: If you don't your players do deal more damage by using ComputePoints() in other functions, you have to check everything and add condition with IsPolymorphed().
-
All the vnums that are defined in unique_item.h because autopotions are defined by item vnum. So yes, only red/blue autopots.
-
Enabling/disabling autopotion while being polymorphed increases your damage, yea? If you're talking about this then I think it's a problem with polymorph, not autopotion. Your autopotion helps you to get the correct damage in other way your damage will be lower than it should be. So I would rather fix the calculations after using polymorph marble than disabling autopotion.
-
problem ring slots
Den replied to Chris90909090909090's topic in Community Support - Questions & Answers
1. Slot is not refreshing (check python files). 2. Wrong wear numeration server/client (check EWearPositions). -
char_item.cpp find: Then add this: Btw. why do you want to block it?
-
Get guild level in source
Den replied to avertuss's topic in Community Support - Questions & Answers
If you want to check guild level inside Character class then it'll be something like this: CGuild* pGuild = GetGuild(); if (pGuild) { if (pGuild->GetLevel() > 10) { //your code } else { //your code } }- 1 reply
-
- 1
-
Leave an empty line at the end of locale/poland/map/index. For new maps try to change every single file name to lowercase e.g. "MapProperty.txt" to "mapproperty.txt.".
-
Quest Text Bug - after add Okey Cards
Den replied to Kreciok's topic in Community Support - Questions & Answers
You can try this -
Does your item have type ITEM_USE and subtype ITEM_QUEST?
-
Upload it to pastebin or something like that cause I can't download the file from your attachment.
-
Try ("SELECT social_id FROM account.account WHERE id ="..pc.get_account_id())
-
Problem after upgrade of python (editing localeinfo)
Den replied to Avisek's topic in Community Support - Questions & Answers
Try to change file encoding. -
an integer is required cmdchat
Den replied to avertuss's topic in Community Support - Questions & Answers
Try for i in xrange(len(data['childs'])): -
an integer is required cmdchat
Den replied to avertuss's topic in Community Support - Questions & Answers
Which line is 1508? -
File "game.py", line 1322, in OnMouseLeftButtonUp Show your whole game.py or at least this function (OnMouseLeftButtonUp).
-
Inventorywindow.py for the positions of the buttons and item slots. uiinventory.py (root) is where the functions are called.
-
Did you also do that for files in 001000 etc. folders?
-
Maybe instead of UPDATE use REPLACE INTO somewhere? REPLACE INTO makes a new row if it didn't find one.
-
Try to change every filename on clientside to lowercase letters e.g. "Setting.txt" to "setting.txt".
-
Change the condition to: if (IsPC()) p.bHPPercent = 0; else if (GetMaxHP() <= 0) p.bHPPercent = 0; else p.bHPPercent = MINMAX(0, (GetHP() * 100) / GetMaxHP(), 100); You can't divide by 0 so you'll always get a crash when mob's maxhp is 0.
-
Show your char.cpp line 5239. You probably killed a mob that respawns with 0hp.
-
The best login/select/empire/create I've ever seen. Good work, keep it up.
-
TIMER_BASED_ON_WEAR problem
Den replied to avertuss's topic in Community Support - Questions & Answers
When item's type is ITEM_UNIQUE it takes Value0 to calculate expire time in minutes so in your case it will be: 71135 "71135" "ITEM_UNIQUE" "UNIQUE_NONE" 1 "NONE" "NONE" "WEAR_SHIELD" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 480 0 0 0 0 0 0 0 0 Check it. -
Paste your deviltower_zone quest here.
-
New pet system server source ERR
Den replied to vandragoon's topic in Community Support - Questions & Answers
Better do it this way: // START_OF_Player_EXP_TABLE_LOADING string temp_exp_line; char szExpTable[256]; snprintf(szExpTable, sizeof(szExpTable), "%s/exp.txt", LocaleService_GetBasePath().c_str()); ifstream exp_table_open(szExpTable); if (!exp_table_open.is_open()) { fprintf(stderr, "Failed to Load ExpTable from %s/exp.txt\n", LocaleService_GetBasePath().c_str()); sys_err("Failed to Load ExpTable from %s/exp.txt", LocaleService_GetBasePath().c_str()); return 0; } int exp_table_counter = 0; while (!exp_table_open.eof()) { exp_table_open >> temp_exp_line; str_to_number(exp_table_common[exp_table_counter], temp_exp_line.c_str()); exp_table_counter++; } fprintf(stderr, "EXP erfolgreich geladen von: %s\n", LocaleService_GetBasePath().c_str()); //sys_log(0, "EXP Table Loaded succsefully from %s", LocaleService_GetBasePath().c_str()); // END_OF_Player_EXP_TABLE_LOADING #ifdef NEW_PET_SYSTEM temp_exp_line = ""; //clearing std::ifstream exppet_table_open("/usr/home/game/share/exppettable.txt"); /*if (!exp_table_open.is_open()) return 0;*/ int exppet_table_counter = 0; int tmppet_exp = 0; while (!exppet_table_open.eof()) { exppet_table_open >> temp_exp_line; str_to_number(exppet_table_common[exppet_table_counter], temp_exp_line.c_str()); if (exppet_table_common[exppet_table_counter] < 2147483647) { sys_log(0, "Livelli Pet caricati da exppettable.txt: %d !", exppet_table_common[exppet_table_counter]); exppet_table_counter++; } else { fprintf(stderr, "[main] Impossibile caricare la tabella exp valore non valido\n"); break; } } #endif You didn't notice you've added something with the same name of variable before. Next time remember to check.