M.Sorin
Member-
Posts
279 -
Joined
-
Last visited
-
Days Won
4 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by M.Sorin
-
Custom level for Admin/VIP
M.Sorin replied to likeabeast's topic in Community Support - Questions & Answers
You can make it with affect . For example : IsVIP() , IsAdmin , IsBlaBla , IsDeveloper. Original function : IsGameMaster , take a look here. -
C++ HELP Drop Items in the Inventory
M.Sorin replied to TekkForCeAD2's topic in Community Support - Questions & Answers
Wait , i edit you code. if (pkKiller->GetLevel() >= 15 && abs(pkKiller->GetLevel() - pkChr->GetLevel()) <= 5) { int pct = quest::CQuestManager::instance().GetEventFlag("mondi_drop"); if (pct > 0) { if (number(1,100) <= pct) { const static DWORD moon_treasure = 50011; pkKiller->AutoGiveItem(moon_treasure, 1); } } } -
C++ HELP Drop Items in the Inventory
M.Sorin replied to TekkForCeAD2's topic in Community Support - Questions & Answers
if ((item = AutoGiveItem(ITEM_VNUM, 1, 0, true))) -
Did you edited value1?
-
[irregular error] unknown packet header
M.Sorin replied to .JαyZoN's topic in Community Support - Questions & Answers
Hmm , i checked too and ur right. I`ll try tonight to search for all sequence lines Edit: SendInternalBuffer(); just removed this and seems like the game is working fine now when i enter the game -
[irregular error] unknown packet header
M.Sorin replied to .JαyZoN's topic in Community Support - Questions & Answers
^ Tested and this guy have right! The header 10 error will appear like this: SYSERR: May 22 13:44:44 :: Process: SEQUENCE 373be300 mismatch 0x76 != 0x46 header 10 SYSERR: May 22 13:44:44 :: Process: SEQUENCE_LOG [[Name]------------- [109 : 0xd9] [006 : 0xea] [241 : 0x84] [010 : 0x76] -
Probably he missed that one
-
ch->GetInventoryItem(i); or just remove that pc->
-
Problem with wolfman weapon
M.Sorin replied to LeJ0ker's topic in Community Support - Questions & Answers
bool CActorInstance::__IsRightHandWeapon(DWORD type) { if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse())) return true; else if (CItemData::WEAPON_BOW == type) return false; else if (CItemData::WEAPON_CLAW == type) return true; else return false; } Show the rest of the code for attach. -
I need to Kvm template FreeBsd for Solusvm
M.Sorin replied to admin500's topic in Community Support - Questions & Answers
There you have it: [Hidden Content] -
The steps you followed for that bug?
-
//nvm now i see he has solved.
-
19 + 3 = 22 22 + 3 = 25 just simple calculation
-
Paste here [Hidden Content] the content of gametype.h from userinterface and costumewindow.py from uiscript.
-
Paste here the content of: enum EWearPositions - lenght.h
-
#define VERIFY_MSG(exp, msg) \ if (true == (exp)) { \ ChatPacket(CHAT_TYPE_INFO, LC_TEXT(msg)); \ return false; \ } Make it like this.
-
[Q]About Dragon soul refine
M.Sorin replied to Human's topic in Community Support - Questions & Answers
This issue is from the vnum_range. Because your item_proto has something like this : 1000~99 And the database cant read that. -
error Unknown packet header cliente clossed
M.Sorin replied to MORTE's topic in Community Support - Questions & Answers
Did you make or install a custom system? HEADER_CG_CHAT = 3 HEADER_GC_LOVER_INFO = 131, Check this and leave a reply . They MUST be the same for client/server! -
Try this: SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `loginlog2` -- ---------------------------- DROP TABLE IF EXISTS `loginlog2`; CREATE TABLE `loginlog2` ( `id` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(20) DEFAULT NULL, `is_gm` varchar(1) DEFAULT NULL, `login_time` datetime DEFAULT NULL, `channel` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `pid` int(11) DEFAULT NULL, `client_version` varchar(11) DEFAULT NULL, `ip` varchar(15) DEFAULT NULL, `logout_time` datetime DEFAULT NULL, `playtime` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=390511 DEFAULT CHARSET=latin1;
-
Help with two problems pls
M.Sorin replied to werednnbs's topic in Community Support - Questions & Answers
Second problem: function split(str, delim, maxNb) if str == nil then return str end if string.find(str, delim) == nil then return { str } end if maxNb == nil or maxNb < 1 then maxNb = 0 end local result = {} local pat = "(.-)" .. delim .. "()" local nb = 0 local lastPos for part, pos in string.gfind(str, pat) do nb = nb + 1 result[nb] = part lastPos = pos if nb == maxNb then break end end if nb ~= maxNb then result[nb + 1] = string.sub(str, lastPos) end return result end -
Ingame Channel Switcher System
M.Sorin replied to Micha aka xCPx's topic in Features & Metin2 Systems
Got this Error... Create at the end of locale_game.txt this: SYSTEM_CHANGE_CH Change Channel -
Big problem with FreeBSD
M.Sorin replied to lord97's topic in Community Support - Questions & Answers
Esti si destept ... Try this: cd /usr/ports/ports-mgmt/pkg make make install clean Then type pkg2ng -
Ingame Channel Switcher System
M.Sorin replied to Micha aka xCPx's topic in Features & Metin2 Systems
Edit systemdialog.py from locale_xx(where xx is your used locale ) -
Big problem with FreeBSD
M.Sorin replied to lord97's topic in Community Support - Questions & Answers
portsnap fetch update pkg add mysql55-server