Jump to content

Cunoo

Inactive Member
  • Posts

    326
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Cunoo

  1. Yes it is.. MINVALUE: -33 -> This is your min value what is possible use in item.. -> If you have -33 -> 100% possible min value is -33%MAXVALUE: 33 -> This is your max value what is possible use in item.. -> If you have 33 -> 100% possible max value is 33% Just gauss random number is number random scale combination from this number (min/max and create random number scale from this numbers..).. For example your min value is -33 and max value is 33.. Gauss random number is for example 10 000 (you have 10 000 number combinations and one min/max value..) Just 1 5 10 21 101 150 164 (10 000 combinations of number) and you want one number from this 10 000 combinations and thats is min or max value.. This is your random chance on value from min > gauss < max scale.. If you want set new average or skill damage possible value, just change in your min and max value.. This is real possible value.. int iSkillBonus = MINMAX(-50, (int) (gauss_random(0, 7) + 0.5f), 100); //Now your possible value is -50% and max 100%.. Chance for this set is same like old values..
  2. Just look at.. MINVALUE: -33 -> This is your min value what is possible use in item.. MAXVALUE: 33 -> This is your max value what is possible use in item.. FORMULA: (gauss_random(0, 7) + 0.5f) -> This is gauss number scale, just how many is random numbers.. (Thats how hard is set min/max values in your item randomly.. //in easy language this is "luck" in game, because this is how many random numbers you has..) Why you want change gauss numbers? Better is change min/max value if you want.. Because if you change gauss number, I mean you destroy game because original is balanced and good.. How calculation gauss number is here, but idk if is this good idea..: [Hidden Content] Just @WeedHex said all what you must know..
  3. I mean you must add new blend in source.. Just txt is only check control + value set..
  4. Hi, I do not know if this is relevant answer, but bonus lightning, wind and maybe more bonuses, never worked.. Its old problem from official server.. I mean problem is in source, same problem is with magic attack.. For example magic attack in char_skill.cpp.. Old code: pkSk->SetPointVar("mwep", iMtk); New code: pkSk->SetPointVar("mwep", iMtk + ch->GetPoint(POINT_MAGIC_ATT_GRADE_BONUS)); I mean this is your problem, why your bonuses did not working.. Idk, I dont have wind, lightning bonuses in my game.. Only magic attack..
  5. Fliege is amateur with bugs.. (for example 4 inventory code and more changes what is not original..) Why is not better clean 34k than 40k with bugs? Btw. 34k game is 90% same game like 40k.. Only small changes.. That why is better clean 34k.. CZ: Fliege soubory znám moc dobře a opravdu je lepší použít nedotčenou hru, než když na to někdo sahá a dělá to amatérský.. Stačí se podívat pro příklad třeba ve fliege na kód 4 inventářů.. Nehledě na to, že jsou tam změny, které se třeba každému nehodí, toť můj názor..
  6. " if i can put this source in another serverfile" ?? How put source? Just compile your source -> game, db, binary and after put in sf/client.. If you use 40k client/sf you not must change more files.. If you use old sf/client, yes you must change more files, but working too.. I have 2012 client, same year serverfiles with 40k source and working fine. If you want clean sf, use this: //reupload is in topic, look for all pages.. [Hidden Content] Working fine with 40k source.. Good client here: [Hidden Content] Not bad for start. If you have more questions, asking.
  7. Oh, thank you so much! Really helpful for study code!
  8. Hi guys, I have one question.. In my syserr here: HOSTNAME: first AsyncSQL: connected to 127.0.0.1 (reconnect 1) CommonSQL connected Setting Locale "czech" (Path: locale/czech) Setting DB to locale latin2 AsyncSQL: connected to 127.0.0.1 (reconnect 1) PlayerSQL connected LogSQL connected SKILL_POWER_BY_LEVEL 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 SKILL_POWER_BY_JOB 0 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 AsyncSQL: connected to 127.0.0.1 (reconnect 1) AsyncSQL: connected to 127.0.0.1 (reconnect 1) SKILL_POWER_BY_JOB 1 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 SKILL_POWER_BY_JOB 2 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 SKILL_POWER_BY_JOB 3 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 SKILL_POWER_BY_JOB 4 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 AsyncSQL: connected to 127.0.0.1 (reconnect 1) SKILL_POWER_BY_JOB 5 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 SKILL_POWER_BY_JOB 6 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 SKILL_POWER_BY_JOB 7 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125 Is this line: AsyncSQL: connected to 127.0.0.1 (reconnect 1) Anyone know how to fix it? This is not problem, but why "reconnect 1"? Async is, I dont know, maybe server synchronization or what? Please give me more informations, thanks!
  9. Sorry, but official language for this forum is english.. If you want search others weapons/armors just unpack all packs in client.. For example search in: patch, patch1, patch2, season.. You must search in local path "ymir work"..
  10. Looks great, your maps and environment are amazing work everytime! This has soul! Btw. Really nice video, you got talent.
  11. Too want solution, but I mean this is in -> InstanceBaseEffect??? Thanks
  12. Its really old problem.. Try use new tahoma font.. I have this problem only if I use old arial font, new client using tahoma. (I mean not same size, just try extract from official client for more informations.. Font is 100% tahoma) This is from my game: UI_DEF_FONT Tahoma:12 UI_DEF_FONT_LARGE Tahoma:14 UI_DEF_FONT_SMALL Tahoma:9
  13. Here solution.. Open -> uitooltip.py This function: def __AppendMetinSlotInfo_IsEmptySlotList(self, metinSlot): if 0 == metinSlot: return 1 for i in xrange(player.METIN_SOCKET_MAX_NUM): metinSlotData=metinSlot[i] if 0 != self.GetMetinSocketType(metinSlotData): if 0 != self.GetMetinItemIndex(metinSlotData): return 0 return 1 Replace with this: def __AppendMetinSlotInfo_IsEmptySlotList(self, metinSlot): if 0 == metinSlot: return for i in xrange(player.METIN_SOCKET_MAX_NUM): metinSlotData=metinSlot[i] if 0 != self.GetMetinSocketType(metinSlotData): if 0 != self.GetMetinItemIndex(metinSlotData): return 0 return Screenshot:
  14. No, I understand.. But look at.. If you post for example: Thank you, but I dont like this and here is my work: bla bla img/gif what you want.. I dont have problem.. Just you only post, I do not like this bla bla my work is better... Tidal value 0.. I think we will agree he and other peoples is reason why we have chance for create "my" servers.. Thats all what I want say.. I´m happy if anyone post free work for other free.. This is not flame for you, thats something to think about, but its really free for all.. Peace..
  15. He upgrade all armors free, you too? I dont know why all has more words than thanks..
  16. Welcome! We are here for you, I have same story long ago.. Good luck.
  17. Screenshots not working, fix it because we dont know whats your problem..
  18. Here 34083 untouched files.. Take it from this skill proto table.. But if you have problem with damage, just fix skill proto by yourself its the best fix..
  19. Yes it is... I know.. And thank you, for informations. Solved! Thanks all for help.
  20. Yeeeeeeeeeeeeeeees this is what I want find!! Thank you so much.
  21. Look in my post table.. And now look screenshot.. I dont have problem with 1/0 (enable/disable) I have problem if is not my table original and I want change bonuses.. screenshot: 20% stun, 20% mystic, 20% orc, 20% human, 30% undead, just I dont have set this in my table..
  22. Thanks, but I know it this.. I need know where is in source table with bonuses/structure table for fix this by myself..
  23. Hi guys, I have one little problem.. I edit my tables in mysql, just I delete bonuses what I dont want in game.. Problem is if I add or change bonuses in item (71084, 71085), dont working set table and I have enable all bonuses in items.. Here my table: SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for item_attr -- ---------------------------- DROP TABLE IF EXISTS `item_attr`; CREATE TABLE `item_attr` ( `apply` enum('MAX_HP','CON','INT','STR','DEX','ATT_SPEED','CAST_SPEED','HP_REGEN','POISON_PCT','CRITICAL_PCT','PENETRATE_PCT','ATTBONUS_HUMAN','STEAL_HP','BLOCK','DODGE','RESIST_WARRIOR','RESIST_ASSASSIN','RESIST_SURA','RESIST_SHAMAN','RESIST_MAGIC','REFLECT_MELEE','MAGIC_ATT_GRADE','ATT_GRADE_BONUS','IMMUNE_STUN','IMMUNE_SLOW','IMMUNE_FALL') NOT NULL DEFAULT 'MAX_HP', `prob` varchar(100) NOT NULL DEFAULT '', `value` varchar(100) NOT NULL DEFAULT '', `weapon` varchar(100) NOT NULL DEFAULT '', `body` varchar(100) NOT NULL DEFAULT '', `wrist` varchar(100) NOT NULL DEFAULT '', `foots` varchar(100) NOT NULL DEFAULT '', `neck` varchar(100) NOT NULL DEFAULT '', `head` varchar(100) NOT NULL DEFAULT '', `shield` varchar(100) NOT NULL DEFAULT '', `ear` varchar(100) NOT NULL DEFAULT '', `belt` varchar(100) NOT NULL, PRIMARY KEY (`apply`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of item_attr -- ---------------------------- INSERT INTO `item_attr` VALUES ('MAX_HP', '35', '3000', '0', '1', '1', '1', '1', '1', '0', '0', '1'); INSERT INTO `item_attr` VALUES ('CON', '11', '15', '1', '0', '0', '0', '0', '0', '1', '0', '1'); INSERT INTO `item_attr` VALUES ('INT', '11', '15', '1', '0', '0', '0', '0', '0', '1', '0', '1'); INSERT INTO `item_attr` VALUES ('STR', '11', '15', '1', '0', '0', '0', '0', '0', '1', '0', '1'); INSERT INTO `item_attr` VALUES ('DEX', '11', '15', '1', '0', '0', '0', '0', '0', '1', '0', '1'); INSERT INTO `item_attr` VALUES ('ATT_SPEED', '8', '10', '0', '0', '0', '1', '0', '1', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('CAST_SPEED', '8', '30', '1', '1', '1', '0', '0', '1', '0', '0', '1'); INSERT INTO `item_attr` VALUES ('HP_REGEN', '65', '50', '0', '0', '1', '0', '1', '1', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('POISON_PCT', '8', '10', '1', '0', '0', '0', '0', '1', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('CRITICAL_PCT', '18', '15', '1', '0', '0', '1', '1', '0', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('PENETRATE_PCT', '30', '15', '1', '0', '1', '0', '1', '0', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('ATTBONUS_HUMAN', '10', '20', '1', '0', '1', '0', '0', '1', '1', '1', '0'); INSERT INTO `item_attr` VALUES ('STEAL_HP', '50', '20', '0', '1', '1', '0', '0', '0', '0', '0', '1'); INSERT INTO `item_attr` VALUES ('BLOCK', '10', '15', '0', '0', '0', '0', '0', '0', '1', '0', '0'); INSERT INTO `item_attr` VALUES ('DODGE', '10', '15', '0', '0', '0', '1', '0', '1', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_WARRIOR', '18', '20', '0', '1', '0', '1', '1', '0', '0', '1', '1'); INSERT INTO `item_attr` VALUES ('RESIST_ASSASSIN', '18', '20', '0', '1', '0', '1', '1', '0', '0', '1', '1'); INSERT INTO `item_attr` VALUES ('RESIST_SURA', '18', '20', '0', '1', '0', '1', '1', '0', '0', '1', '1'); INSERT INTO `item_attr` VALUES ('RESIST_SHAMAN', '18', '20', '0', '1', '0', '1', '1', '0', '0', '1', '1'); INSERT INTO `item_attr` VALUES ('RESIST_MAGIC', '25', '20', '0', '1', '1', '0', '0', '1', '0', '0', '1'); INSERT INTO `item_attr` VALUES ('REFLECT_MELEE', '18', '30', '0', '1', '0', '0', '0', '0', '1', '0', '1'); INSERT INTO `item_attr` VALUES ('MAGIC_ATT_GRADE', '9', '150', '0', '1', '0', '0', '0', '0', '0', '0', '1'); INSERT INTO `item_attr` VALUES ('ATT_GRADE_BONUS', '9', '150', '0', '1', '0', '0', '0', '0', '0', '0', '1'); INSERT INTO `item_attr` VALUES ('IMMUNE_STUN', '3', '100', '0', '0', '0', '0', '0', '0', '1', '0', '0'); INSERT INTO `item_attr` VALUES ('IMMUNE_SLOW', '3', '100', '0', '0', '0', '0', '0', '0', '0', '0', '1'); INSERT INTO `item_attr` VALUES ('IMMUNE_FALL', '3', '100', '0', '0', '0', '0', '0', '0', '0', '0', '1'); Anyone know, where is problem? Edit: I mean problem is I delete defence (sword, dagger, bla bla...) and repair with resist (sura, war, bla bla) how I can fixed this but I dont want classic resist in 1/5 bonus..
  24. Just if you want use in your game for test.. Where is problem? @Mei Nice idea, waiting for other work. Thank you so much for share with community.
×
×
  • 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.