Jump to content

tierrilopes

Premium
  • Posts

    666
  • Joined

  • Days Won

    31
  • Feedback

    0%

Everything posted by tierrilopes

  1. Ah, i tought you only needed to retrieve the txts. Thats the default on the 40k source, just download original source and get it from there. Or you have sources like vanilla one, with the option to load from .txt or .sql, use the functions from there.
  2. You can get it from your current item/mob proto of clientside. Send them by pm to me.
  3. Maybe you just disabled the defines of it but forgot that theres a shit ton of SendSequence() stuff you need to deal with.
  4. if (strPackType.compare("FILE") && strPackType.compare("DATA")) { TraceError("Data/Index has invalid syntax. First line must be 'DATA' or 'FILE'"); return false; } No need to change that.
  5. Basically every single dungeon out there, starting with the blue dragon.
  6. A million of those quests already exist and you just need to edit them to your liking?
  7. Install mysql setup remote user on it upload account, common, player, log folder from your files (this should be done in sql, but as emergency the folders will work). done
  8. Probably thats because Fleon only did it for the "self.SelectBtnNameList" but forgot the "self.SelectBtnFaceList" Print example gives the idea, he just didnt edited the first code Using list i prefer (with print to python run thing): txtlist = [ "mouse_click", "mouse_over_in", "mouse_over_out"] for loop in txtlist: for i in range(5): print 'self.SelectBtnNameList[{}].SetEvent(ui.__mem_func__(self.EventProgress), "{}", {})'.format(i, loop, i) print 'self.SelectBtnFaceList[{}].SetEvent(ui.__mem_func__(self.EventProgress), "{}", {})'.format(i, loop, i) Not organized by category like in the above example, but for me its faster to write.
  9. Now lets import that code from an url so that it becames 'one string'
  10. From: self.SelectBtnNameList[0].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 0) self.SelectBtnNameList[1].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 1) self.SelectBtnNameList[2].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 2) self.SelectBtnNameList[3].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 3) self.SelectBtnNameList[4].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 4) self.SelectBtnNameList[0].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 0) self.SelectBtnNameList[1].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 1) self.SelectBtnNameList[2].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 2) self.SelectBtnNameList[3].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 3) self.SelectBtnNameList[4].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 4) self.SelectBtnNameList[0].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 0) self.SelectBtnNameList[1].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 1) self.SelectBtnNameList[2].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 2) self.SelectBtnNameList[3].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 3) self.SelectBtnNameList[4].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 4) self.SelectBtnFaceList[0].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 0) self.SelectBtnFaceList[1].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 1) self.SelectBtnFaceList[2].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 2) self.SelectBtnFaceList[3].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 3) self.SelectBtnFaceList[4].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", 4) self.SelectBtnFaceList[0].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 0) self.SelectBtnFaceList[1].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 1) self.SelectBtnFaceList[2].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 2) self.SelectBtnFaceList[3].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 3) self.SelectBtnFaceList[4].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 4) self.SelectBtnFaceList[0].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 0) self.SelectBtnFaceList[1].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 1) self.SelectBtnFaceList[2].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 2) self.SelectBtnFaceList[3].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 3) self.SelectBtnFaceList[4].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 4) Into: for i in xrange(5): self.SelectBtnNameList[i].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", i) self.SelectBtnNameList[i].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", i) self.SelectBtnNameList[i].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", i) self.SelectBtnFaceList[i].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_click", i) self.SelectBtnFaceList[i].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", i) self.SelectBtnFaceList[i].SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", i) Couldnt write it in "one string" sadly, teach me how pls
  11. If you wanna rename all to lowercase in windows via batch (superuser dbenham): for /r %%D in (.) do @for /f "eol=: delims=" %%F in ('dir /l/b/a "%%D"') do @ren "%%D\%%F" "%%F"
  12. That Azrael ahahaha, a player fighting that, awesome
  13. import .txt into excell. You will edit it way better then on xml.
  14. DROP TABLE IF EXISTS `mob_proto`; CREATE TABLE `mob_proto` ( `vnum` int(20) unsigned NOT NULL DEFAULT '0', `name` varbinary(50) NOT NULL DEFAULT 'Noname', `locale_name` varbinary(50) NOT NULL DEFAULT 'Noname', `rank` tinyint(2) unsigned NOT NULL DEFAULT '0', `type` tinyint(2) unsigned NOT NULL DEFAULT '0', `battle_type` tinyint(1) unsigned NOT NULL DEFAULT '0', `level` smallint(3) unsigned NOT NULL DEFAULT '1', `size` enum('SMALL','MEDIUM','BIG') NOT NULL DEFAULT 'SMALL', `ai_flag` set('AGGR','NOMOVE','COWARD','NOATTSHINSU','NOATTCHUNJO','NOATTJINNO','ATTMOB','BERSERK','STONESKIN','GODSPEED','DEATHBLOW','REVIVE') DEFAULT NULL, `mount_capacity` tinyint(2) unsigned NOT NULL DEFAULT '0', `setRaceFlag` set('ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT','TREE','ATT_ELEC','ATT_FIRE','ATT_ICE','ATT_WIND','ATT_EARTH','ATT_DARK') NOT NULL DEFAULT '', `setImmuneFlag` set('STUN','SLOW','FALL','CURSE','POISON','TERROR','REFLECT') NOT NULL DEFAULT '', `empire` tinyint(4) unsigned NOT NULL DEFAULT '0', `folder` varchar(100) NOT NULL DEFAULT '', `on_click` tinyint(4) unsigned NOT NULL DEFAULT '0', `st` smallint(5) unsigned NOT NULL DEFAULT '0', `dx` smallint(5) unsigned NOT NULL DEFAULT '0', `ht` smallint(5) unsigned NOT NULL DEFAULT '0', `iq` smallint(5) unsigned NOT NULL DEFAULT '0', `damage_min` smallint(5) unsigned NOT NULL DEFAULT '0', `damage_max` smallint(5) unsigned NOT NULL DEFAULT '0', `max_hp` int(10) unsigned NOT NULL DEFAULT '0', `regen_cycle` tinyint(3) unsigned NOT NULL DEFAULT '0', `regen_percent` tinyint(3) unsigned NOT NULL DEFAULT '0', `gold_min` int(11) NOT NULL DEFAULT '0', `gold_max` int(11) NOT NULL DEFAULT '0', `exp` int(10) unsigned NOT NULL DEFAULT '0', `def` smallint(5) unsigned NOT NULL DEFAULT '0', `attack_speed` smallint(6) unsigned NOT NULL DEFAULT '100', `move_speed` smallint(6) unsigned NOT NULL DEFAULT '100', `aggressive_hp_pct` tinyint(3) unsigned NOT NULL DEFAULT '0', `aggressive_sight` smallint(10) unsigned NOT NULL DEFAULT '0', `attack_range` smallint(5) unsigned NOT NULL DEFAULT '0', `drop_item` int(10) unsigned NOT NULL DEFAULT '0', `resurrection_vnum` int(10) unsigned NOT NULL DEFAULT '0', `enchant_curse` tinyint(4) unsigned NOT NULL DEFAULT '0', `enchant_slow` tinyint(4) unsigned NOT NULL DEFAULT '0', `enchant_poison` tinyint(4) unsigned NOT NULL DEFAULT '0', `enchant_stun` tinyint(3) unsigned NOT NULL DEFAULT '0', `enchant_critical` tinyint(3) unsigned NOT NULL DEFAULT '0', `enchant_penetrate` tinyint(3) unsigned NOT NULL DEFAULT '0', `resist_sword` tinyint(4) NOT NULL DEFAULT '0', `resist_twohand` tinyint(4) NOT NULL DEFAULT '0', `resist_dagger` tinyint(4) NOT NULL DEFAULT '0', `resist_bell` tinyint(4) NOT NULL DEFAULT '0', `resist_fan` tinyint(4) NOT NULL DEFAULT '0', `resist_bow` tinyint(4) NOT NULL DEFAULT '0', `resist_fire` tinyint(4) NOT NULL DEFAULT '0', `resist_elect` tinyint(4) NOT NULL DEFAULT '0', `resist_magic` tinyint(4) NOT NULL DEFAULT '0', `resist_wind` tinyint(4) NOT NULL DEFAULT '0', `resist_poison` tinyint(4) NOT NULL DEFAULT '0', `dam_multiply` float DEFAULT NULL, `summon` int(11) DEFAULT NULL, `drain_sp` int(11) DEFAULT NULL, `mob_color` int(10) unsigned DEFAULT NULL, `polymorph_item` int(10) unsigned NOT NULL DEFAULT '0', `skill_level0` tinyint(3) unsigned DEFAULT NULL, `skill_vnum0` int(10) unsigned DEFAULT NULL, `skill_level1` tinyint(3) unsigned DEFAULT NULL, `skill_vnum1` int(10) unsigned DEFAULT NULL, `skill_level2` tinyint(3) unsigned DEFAULT NULL, `skill_vnum2` int(10) unsigned DEFAULT NULL, `skill_level3` tinyint(3) unsigned DEFAULT NULL, `skill_vnum3` int(10) unsigned DEFAULT NULL, `skill_level4` tinyint(3) unsigned DEFAULT NULL, `skill_vnum4` int(10) unsigned DEFAULT NULL, `sp_berserk` tinyint(4) NOT NULL DEFAULT '0', `sp_stoneskin` tinyint(4) NOT NULL DEFAULT '0', `sp_godspeed` tinyint(4) NOT NULL DEFAULT '0', `sp_deathblow` tinyint(4) NOT NULL DEFAULT '0', `sp_revive` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`vnum`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; if dosnt work, say here your mysql-server version and post your current mob_proto structure (navicat-->dump sql file-->structure only)
  15. This is a request to use hacks? Good luck having people answering you then.
  16. Use the lib from original source if you don't wanna do it.
  17. Build a Python lib on dynamic instead of static. Or use lib from original source
×
×
  • 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.