-
Posts
1544 -
Joined
-
Last visited
-
Days Won
33 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by WeedHex
-
help with fopen value please
WeedHex replied to EnKor's topic in Community Support - Questions & Answers
Or you can copy from ItemData.cpp like Endy suggests. I like to solve problems I was following your idea xD -
help with fopen value please
WeedHex replied to EnKor's topic in Community Support - Questions & Answers
[Hidden Content] GetRace to string, and go for a string comparation. -
help with fopen value please
WeedHex replied to EnKor's topic in Community Support - Questions & Answers
Ohhh I understood python ahahah Should be a thing like that: char str[buffSize]; FILE* fpr = fopen("test.txt", "r"); if (fpr) { while (fgets(str, buffSize, fpr)) { printf("%s", str); } } fclose(fpr); I don't have time to run the code now sorry, I'm using other formats for these things with new c++. Let me know the output ò_ò if (GetRace() == "%s", str) It's wrong. -
help with fopen value please
WeedHex replied to EnKor's topic in Community Support - Questions & Answers
Idk, I would do it in c++ only. If there aren't lot of mobs I would skip also the txt reading making a const list/map. -
help with fopen value please
WeedHex replied to EnKor's topic in Community Support - Questions & Answers
You want to load mob names from txt file? For doing what? Show it instead of mob_proto data or what, explain please xD -
help with fopen value please
WeedHex replied to EnKor's topic in Community Support - Questions & Answers
[Hidden Content] Just search. There are lot of ways, Python is beautiful for these things. -
Guitar feeling
-
You can buy the real system from who made it for first.
- 59 replies
-
- 3
-
Facebook and discord buttons
WeedHex replied to Fakis's topic in Community Support - Questions & Answers
Better you don't, because you should remake all the taskbar positions for client in res. 800x600. -
Weedo chill
-
[HELP] Game Build Error
WeedHex replied to 123fbalp123fb's topic in Community Support - Questions & Answers
#include "questmanager.h" (It's weird you don't have by default) -
Yes, you are totally right! For this reason I opened this thread to hear someone else opinion. My final idea so is to remove all the console releated codes (maybe put it on _DEBUG define), removing also all the modules on binary.
-
game.py def __Console_Enable(self): dbg.TraceError("Attempt to enable console #####") """ constInfo.CONSOLE_ENABLE = True self.consoleEnable = True app.EnableSpecialCameraMode() ui.EnablePaste(True) """ I believe is better to disable these codes in release version. It's just an example to let you know what I'm talking. Let me know if you know something bad about.
-
Char.h Replace this: void ForgetMyAttacker(bool revive = true); Char_battle.cpp Replace this: void CHARACTER::ForgetMyAttacker(bool revive) { const LPSECTREE pSec = GetSectree(); if (pSec) { FuncForgetMyAttacker f(this); pSec->ForEachAround(f); } if (revive) ReviveInvisible(5); } Char_skill.cpp Search the function: CHARACTER::ComputeSkill( and ADD below // ADD_GRANDMASTER_SKILL ..... // END_OF_ADD_GRANDMASTER_SKILL This //Ninja Stealth improve if (IsPC() && pkSk->dwVnum == SKILL_EUNHYUNG) ForgetMyAttacker(false); Hope you like it
- 14 replies
-
- 24
-
[Question] Base emoticon sound
WeedHex replied to kjmoknjkoj's topic in Community Support - Questions & Answers
game.py find for: net.SendEmoticon(int(num)-1) You can play there to reproduce sounds with: snd.PlaySound("sound/ui/*.wav") I think you'll need extra work to prevent things like "spam of key" etc. (Nice idea btw) -
Quest does not appear after leveling up
WeedHex replied to farmmedal's topic in Community Support - Questions & Answers
I think its because of C++. Using the questlua_pc.cpp function GiveExp() you won't trigger this: quest::CQuestManager::instance().LevelUp(GetPlayerID()); So when login or levelup Only login will works. -
Quest does not appear after leveling up
WeedHex replied to farmmedal's topic in Community Support - Questions & Answers
when login or levelup with >= 2 begin It doesn't make sense. You should explain better. -
#include "StdAfx.h" Be sure you didn't broke something in the #includes + in the Template declaration.
-
Please don't start to make lot of useless variables. The error is just because of reference in function parameter. void Set(int header, TPacketType && rPacketType); void CNetworkPacketHeaderMap::Set(int header, TPacketType && rPacketType)
-
For deep coding
-
We talked in PM. I'm sorry for my aggressive message, but the guy has the same problem from long time, I got crazy