Jump to content

tierrilopes

Premium
  • Posts

    666
  • Joined

  • Days Won

    31
  • Feedback

    0%

Everything posted by tierrilopes

  1. Forget all the old crappy tuts. Change adapter to nat. (Also, recommended Hyper-V or vmware. VBox is just awful) Activate dhcp. When you login, do "ifconfig" without " to see your ip adress. Use that ip and be happy.
  2. ee /etc/ssh/sshd_config Look for #PermitRootLogin no Change into PermitRootLogin yes Look for #Port 22 Change into Port 22 Press ESC and 2 times ENTER to close and save the file. Restart sshd using: service sshd restart Do ifconfig to find the ip adress dhcp provided you. under em0, after inet: you will see your ip. Example print. Ip from mine is 192.168.205.130, yours will be at same location. Enter that ip+user (root?) + password and with port 22 on winscp. Done.
  3. You should be using vs2013 with v120/v120_xp. At the moment this is the one working without less issues on players pcs. (Not sure why kori said that, as its completly non-sense. We're at 2016, so we should be using more recent stuff, not some old crap software). You should had installed « “Microsoft Foundation Classes for C++ » when choosing vs2013 options. The error should come from the resource.rc. You can either reinstall vs13 with that option or changed the resource.rc in order to dont use those functions. Edit: I took about 5min and upgraded the sln to vs13. Should be just extract, open and compile. If the afxres.h error appear, please refer to what i wrote previously.
  4. Hi. If you want a different function, duplicate purge (cmd.cpp cmd_gm.cpp) and change its names. After, at cmd_gm.cpp search for (the name will be your duplicated one): struct FuncPurge And edit here the max range: if (!m_bAll && iDist >= 1000) return; Or you can just change the range there for the current purge function.
  5. Import txt into excell and then do a formula that does the same as query provided above.
  6. Whole frankie protection, apart from part of it being stolen from korays and the rest from ArmorU is totally useless. Using it or not only means the cheater will lose or not more 10seconds bypassing it. The better option is to learn and make yourself one.
  7. I didnt even read what you wrote so is it really necessary to point out an useless thing?
  8. Just an info to shorten the code: IsGM() == true equals to: IsGM() Also IsGM() == false equals to: !IsGM() Btw, at private shop blocking, you forgot to block the item 71049. If anyone wants to block the safebox, here a easy way for that: Before: void CHARACTER::ReqSafeboxLoad(const char* pszPassword) { if (!*pszPassword || strlen(pszPassword) > SAFEBOX_PASSWORD_MAX_LEN) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> À߸øµÈ ¾ÏÈ£¸¦ ÀÔ·ÂÇϼ̽À´Ï´Ù.")); return; } After: void CHARACTER::ReqSafeboxLoad(const char* pszPassword) { if (!*pszPassword || strlen(pszPassword) > SAFEBOX_PASSWORD_MAX_LEN) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> À߸øµÈ ¾ÏÈ£¸¦ ÀÔ·ÂÇϼ̽À´Ï´Ù.")); return; } else if (IsGM()) { ChatPacket(CHAT_TYPE_INFO, "Proibido mover itens para o armazem como GM."); return; }
  9. 1- Yes. Just to get a doubt explained: lz4hc is a bit slower compressing then the lz4, but with higher ratio. Will the decompression speed be changed or its similar to lz4? ___ 2- I do like aes-256 alot __ 3- Would there be new options? Or a re-design of the current ones?
  10. void CHARACTER::ReqSafeboxLoad(const char* pszPassword) { if (!*pszPassword || strlen(pszPassword) > SAFEBOX_PASSWORD_MAX_LEN) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> À߸øµÈ ¾ÏÈ£¸¦ ÀÔ·ÂÇϼ̽À´Ï´Ù.")); return; } else if (IsGM()) { ChatPacket(CHAT_TYPE_INFO, "Proibido mover itens para o armazem como GM."); return; }
  11. #Removed. Thank you m2dev for getting ruined.
  12. #Removed. Thank you for deleting my posts, now you can fuck off.
  13. Why dont you simply disable the heal to party? I think would be the better option, because at 10% of 7k its gonna heal 700, and thats actually useless. But if you still wanna do it, just to make sure, 10% to party and 100% to self or 100% to the target and 10% to the others?
  14. All you need is the player.item Send me teamviewer by pm and i'll take a look
  15. It is indeed working, i tested it here: Check if you really entered the correct values. Or maybe your item structure got a issue, heres the one i tested in: SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for item -- ---------------------------- DROP TABLE IF EXISTS `item`; CREATE TABLE `item` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `owner_id` int(11) unsigned NOT NULL DEFAULT '0', `window` enum('INVENTORY','EQUIPMENT','SAFEBOX','MALL','DRAGON_SOUL_INVENTORY','BELT_INVENTORY') NOT NULL DEFAULT 'INVENTORY', `pos` smallint(5) unsigned NOT NULL DEFAULT '0', `count` tinyint(3) unsigned NOT NULL DEFAULT '0', `vnum` int(11) unsigned NOT NULL DEFAULT '0', `socket0` int(10) unsigned NOT NULL DEFAULT '0', `socket1` int(10) unsigned NOT NULL DEFAULT '0', `socket2` int(10) unsigned NOT NULL DEFAULT '0', `socket3` int(10) unsigned NOT NULL DEFAULT '0', `socket4` int(10) unsigned NOT NULL DEFAULT '0', `socket5` int(10) unsigned NOT NULL DEFAULT '0', `attrtype0` tinyint(4) NOT NULL DEFAULT '0', `attrvalue0` smallint(6) NOT NULL DEFAULT '0', `attrtype1` tinyint(4) NOT NULL DEFAULT '0', `attrvalue1` smallint(6) NOT NULL DEFAULT '0', `attrtype2` tinyint(4) NOT NULL DEFAULT '0', `attrvalue2` smallint(6) NOT NULL DEFAULT '0', `attrtype3` tinyint(4) NOT NULL DEFAULT '0', `attrvalue3` smallint(6) NOT NULL DEFAULT '0', `attrtype4` tinyint(4) NOT NULL DEFAULT '0', `attrvalue4` smallint(6) NOT NULL DEFAULT '0', `attrtype5` tinyint(4) NOT NULL DEFAULT '0', `attrvalue5` smallint(6) NOT NULL DEFAULT '0', `attrtype6` tinyint(4) NOT NULL DEFAULT '0', `attrvalue6` smallint(6) NOT NULL DEFAULT '0', `applytype0` tinyint(4) NOT NULL DEFAULT '0', `applyvalue0` smallint(6) NOT NULL DEFAULT '0', `applytype1` tinyint(4) NOT NULL DEFAULT '0', `applyvalue1` smallint(6) NOT NULL DEFAULT '0', `applytype2` tinyint(4) NOT NULL DEFAULT '0', `applyvalue2` smallint(6) NOT NULL DEFAULT '0', `applytype3` int(11) NOT NULL DEFAULT '0', `applyvalue3` int(11) NOT NULL DEFAULT '0', `applytype4` int(11) NOT NULL DEFAULT '0', `applyvalue4` int(11) NOT NULL DEFAULT '0', `applytype5` int(11) NOT NULL DEFAULT '0', `applyvalue5` int(11) NOT NULL DEFAULT '0', `applytype6` int(11) NOT NULL DEFAULT '0', `applyvalue6` int(11) NOT NULL DEFAULT '0', `applytype7` int(11) NOT NULL DEFAULT '0', `applyvalue7` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `owner_id_idx` (`owner_id`), KEY `item_vnum_index` (`vnum`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  16. There you go: [Hidden Content] I also changed mysql to mysqli. Mysql is deprecated already. Where its written: $host_db='127.0.0.1'; //user Its for the IP ofc, was a typo.
  17. $bdd_name='account'; change it to: $bdd_name='player'; And see if it works now.
  18. Can you send me the crea_item.php? (remove db login details before sending it)
  19. Its actually doing nothing then distracting to be honest. Go to navicat, design table account. Remove all the checkboxes "Not null". Leave it checked only at id, login and password. If it still doesnt here post there the registration script.
  20. If your goal is to create an item, you need to setup the database to player and not to the account. Itens are stored at player db. Your topic title says you got an issue registering, but then you're showing an error with item creation...You should separate the problems properly.
  21. I posted that for free. Ignore the sellers. Search on my content.
×
×
  • 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.