| Anonymous | Login | Signup for a new account | 2010-09-06 22:39 UTC | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0000157 | Mana | [All Projects] General | public | 2010-06-29 13:53 | 2010-08-09 18:58 | ||||||
| Reporter | strikermdd | ||||||||||
| Assigned To | Bertram | ||||||||||
| Priority | high | Severity | major | Reproducibility | always | ||||||
| Status | assigned | Resolution | reopened | ||||||||
| Platform | OS | OS Version | |||||||||
| Summary | 0000157: Weapon animations not working | ||||||||||
| Description | Well, i test many weapons in Manaserv, of diferent types ( knifes, bow, swords, lance, etc ), but i only see the same animation ( unarmed ), and yes these weapons have the <sprite> attribute and weapon-type ( and weapon_type too ). | ||||||||||
| Steps To Reproduce | Equip any weapon and see the animation for attack. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0000563) Bertram (developer) 2010-06-29 14:31 |
Could you provide the file used there, and tell us what weapon is faulty? Thanks in advance. |
|
(0000564) strikermdd (reporter) 2010-06-29 14:36 |
I´m translating and adding some new attributes and items of my project to the default items.xml, but its not the problem, because i test with the items.xml file with comes with data git repository, and the problem its the same, even in the official test server too. And i try almost all weapons, same effect for all. |
|
(0000609) strikermdd (reporter) 2010-07-07 13:03 |
Any idea how we can fix this problem, its very annoying can't see my weapon animation ... |
|
(0000633) Bertram (developer) 2010-07-09 11:22 |
Hi striker, Taken from the code reading the items.xml in ManaServ, here: http://gitorious.org/mana/manaserv/blobs/master/src/game-server/itemmanager.cpp#line133 [^] and from the documentation about it here: http://doc.manasource.org/items.xml [^] (At General (Client and server) parameters description) The parameter to be used is 'weapon-type' and not 'weapon_type' which is to be used by *Athena servers only. Could you trying correcting it and try? Thanks. |
|
(0000638) strikermdd (reporter) 2010-07-10 00:22 |
i´m using the default options for almost items, its have both parameters ( weapon-type and weapon_type). You think its a problem with them ? |
|
(0000641) Bertram (developer) 2010-07-11 13:05 edited on: 2010-07-11 17:13 |
Not forcefully in fact: The 'weapon-type' parameter must correspond to a 'name' or an 'id' parameter in the mana-skills.xml file, which must be also available for your server. In case of giving names, the match is case insensitive. And you've got one point, the server doesn't say if name/id matching is correct or not. I've provided a patch to make the game server complains at warning level if the id or name given as weapon-type in items.xml doesn't match the mana-skills.xml ones. Could you try it, and tell me the error reported in manaserv-game.log (with verbosity set to at least 4.) Thanks. |
|
(0000657) strikermdd (reporter) 2010-07-18 19:17 |
well, i apply this patch and try, i don´t see any messages about incorrect ids or something like that, but when i put verbose to 4 the game become unplayable, very, very slow ( and i have a very powerfull machine ... ) and i can´t test any fight. |
|
(0000661) Bertram (developer) 2010-07-19 06:43 edited on: 2010-07-21 22:21 |
Ok, I just need the manaserv-game.log at startup with verbosity at 4. You can put back sane values for playing after that. Could you also provide the mana-skills file used? EDIT: I pushed the patch in git: http://www.gitorious.org/mana/manaserv/commit/89d1862497222ea48fb38995492df7947b00c4d7 [^] Could you give me the log with verbosity to 4. No need to connect with a client. just start the game and account servers once, wait for init ending. Cut them and give me the logs. Thanks :) |
|
(0000682) strikermdd (reporter) 2010-07-22 02:02 |
well, i made the upload for the 2 log files from the server in level 4 of debug. |
|
(0000684) Bertram (developer) 2010-07-22 14:37 |
Hi Striker, Based on your log, I can say your issue seems easy to fix: These log lines are relevant for your problem: [22:55:05] [DBG] 'ARCO': 106 [22:55:05] [DBG] 'ATIRAR': 107 [22:55:05] [DBG] 'CAJADO': 104 [22:55:05] [DBG] 'CHICOTE': 105 [22:55:05] [DBG] 'COZINHAR': 304 [22:55:05] [DBG] 'DESARMADO': 100 [22:55:05] [DBG] 'ESPADA': 102 [22:55:05] [DBG] 'FACA': 101 [22:55:05] [DBG] 'HERBOLOGIA': 303 [22:55:05] [DBG] 'LANçAR': 110 [22:55:05] [DBG] 'LENHAR': 300 [22:55:05] [DBG] 'MACE': 108 [22:55:05] [DBG] 'MACHADO': 109 [22:55:05] [DBG] 'MAGIA DE EXEMPLO': 200 [22:55:05] [DBG] 'MINERAR': 301 [22:55:05] [DBG] 'PESCAR': 302 [22:55:05] [DBG] 'POLEARM': 103 [22:55:05] [DBG] ----- [22:55:05] [WRN] SkillManager: No default weapon-type id was given during Skill map loading. Defaults will fall back to id 0. [22:55:06] [WRN] SkillManager: No weapon-type name corresponding to KNIFE into mana-skills.xml [22:55:06] [WRN] SkillManager: No weapon-type name corresponding to KNIFE into mana-skills.xml [22:55:06] [WRN] SkillManager: No weapon-type name corresponding to BOW into mana-skills.xml [22:55:06] [WRN] SkillManager: No weapon-type name corresponding to SWORD into mana-skills.xml [22:55:06] [WRN] SkillManager: No weapon-type name corresponding to BOW into mana-skills.xml [22:55:06] [WRN] SkillManager: No weapon-type name corresponding to AXE into mana-skills.xml [22:55:06] [WRN] SkillManager: No weapon-type name corresponding to AXE into mana-skills.xml ... The weapon-type given in your items.xml file do not correspond to the one given in the mana-skills.xml. Instead of weapon-type="bow", you should then put weapon-type="arco", ... Does it help? |
|
(0000685) strikermdd (reporter) 2010-07-23 01:05 |
unfortunaly this not work, i change the names to reflect the same names in mana-skills.xml, the error in the log disappear, but in the game its not showing any weapon animation. I don´t know if this is related, but since the patch for specials from crush, the specials and skills its not working any more. I cant learn any skill/special or use any special. I post here my mana-skills.xml too. |
|
(0000686) Bertram (developer) 2010-07-23 10:29 |
Thanks for your feedback. It's very precious. I'll have a look at it... |
|
(0000689) Bertram (developer) 2010-07-28 22:22 |
I'm in the middle of it right now: I'll make a patch unifying the skill handling between the two servers while trying to handle eAthena specificities. As for now, the animation won't work because the skills are hardcoded in the client in: http://www.gitorious.org/mana/mana/blobs/master/src/resources/itemdb.cpp#line88 [^] This means that both your skills names and weapon-type are to be of one of these values to work. I'll take care about getting rid this, but if you can't wait, you can also revert your portuguese skill names to the english hard-coded ones. |
|
(0000690) strikermdd (reporter) 2010-07-28 23:57 |
humm ... i will try this, but i think its not only this, why i can´t learn other skills/actions anymore ? At least i can´t see them in the skill/specials windows ? |
|
(0000691) strikermdd (reporter) 2010-07-29 00:02 |
yes, this don´t work, i put all to original names in english, and change in items.xml too, the animations don´t appear yet ... |
|
(0000694) Bertram (developer) 2010-07-29 23:26 |
This is working now with those commits: http://www.gitorious.org/mana/mana/commit/ae898aa1a5175b2b08f7248e4cd89bf61bc8e4be [^] http://www.gitorious.org/mana/mana/commit/4cbbfeca46c60fc0efdfe901e69324cd8358308e [^] Be sure to add the 'attack-action' parameter in your items.xml file for animations to work. attack-action="attack" for knives and swords, attack-action="attack_bow" for bows. This has to be sync of the action names in the playerset.xml files, in fact. Also, I'll add a commit making the server search for a skill parameter instead of a weapon-type one. I consider this done for now. Feel free to reopen if anything relevant. |
|
(0000695) strikermdd (reporter) 2010-08-01 15:50 |
well, at least for me its not work. I made these steps : 1 - Download and build the latest git version 2 - Add my custom data folder to client/server 3 - Change in items.xml the attack-action="attack_type" option. 4 - Run the servers and the game and try to equip and fight with many weapon types ( bow, knife, sword, etc ) 4 - Any animation its showed, only the 'unarmed' one. I post again my mana-skills.xml and items.xml again for revision. I don´t know if its a thing the i make wrong, but i simple don´t know why its not working. Anyone test this and work ? ps. : Please, don´t close the ticket at least the reporter say the ticket its ok, because its need to reopen everytime. ps.2 : At least the experience its showed now, but i don´t see any skill yet ... Thanks |
|
(0000698) Bertram (developer) 2010-08-02 08:19 |
Hi Striker, "Please, don´t close the ticket at least the reporter say the ticket its ok, because its need to reopen everytime." --> Ok, I'll stop that. ;) "Anyone test this and work ?" --> Yes, working for me. According to your (new) items.xml, I can see you added attack-action only to the items with id 30, 31, and 33. To be sure you're trying with the correct weapon, you should add the 'attack-action' to *all* your weapons items. Could you try and tell me? Thanks :) I'll have a look at why the skill are not showing now. |
|
(0000702) strikermdd (reporter) 2010-08-09 18:58 |
simple don't work ... i think its a good idea catch the skills by their ids and not by name. Try to add this items.xml to your test server and try to run these animations. ( before this remove my personal items because you of course don't have these icons and items in mana/tmw ). And i think the problem with the skills/specials affect these animations ... i think ... |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-06-29 13:53 | strikermdd | New Issue | |
| 2010-06-29 14:31 | Bertram | Note Added: 0000563 | |
| 2010-06-29 14:34 | strikermdd | File Added: items.xml | |
| 2010-06-29 14:36 | strikermdd | Note Added: 0000564 | |
| 2010-07-07 13:03 | strikermdd | Note Added: 0000609 | |
| 2010-07-09 11:22 | Bertram | Note Added: 0000633 | |
| 2010-07-10 00:22 | strikermdd | Note Added: 0000638 | |
| 2010-07-11 13:05 | Bertram | Note Added: 0000641 | |
| 2010-07-11 17:10 | Bertram | File Added: 0001-Upgraded-Skill-Map-loading.patch | |
| 2010-07-11 17:13 | Bertram | Note Edited: 0000641 | View Revisions |
| 2010-07-18 19:17 | strikermdd | Note Added: 0000657 | |
| 2010-07-19 06:43 | Bertram | Note Added: 0000661 | |
| 2010-07-21 22:21 | Bertram | Note Edited: 0000661 | View Revisions |
| 2010-07-21 22:22 | Bertram | Status | new => feedback |
| 2010-07-22 02:00 | strikermdd | File Added: manaserv-account.log | |
| 2010-07-22 02:01 | strikermdd | File Added: manaserv-game.log | |
| 2010-07-22 02:02 | strikermdd | Note Added: 0000682 | |
| 2010-07-22 02:02 | strikermdd | Status | feedback => new |
| 2010-07-22 14:37 | Bertram | Note Added: 0000684 | |
| 2010-07-22 14:38 | Bertram | Assigned To | => Bertram |
| 2010-07-22 14:38 | Bertram | Status | new => feedback |
| 2010-07-23 01:05 | strikermdd | Note Added: 0000685 | |
| 2010-07-23 01:05 | strikermdd | Status | feedback => assigned |
| 2010-07-23 01:05 | strikermdd | File Added: mana-skills.xml | |
| 2010-07-23 10:29 | Bertram | Note Added: 0000686 | |
| 2010-07-28 22:22 | Bertram | Note Added: 0000689 | |
| 2010-07-28 23:57 | strikermdd | Note Added: 0000690 | |
| 2010-07-29 00:02 | strikermdd | Note Added: 0000691 | |
| 2010-07-29 23:26 | Bertram | Note Added: 0000694 | |
| 2010-07-29 23:26 | Bertram | Status | assigned => resolved |
| 2010-07-29 23:26 | Bertram | Resolution | open => fixed |
| 2010-08-01 15:51 | strikermdd | Note Added: 0000695 | |
| 2010-08-01 15:51 | strikermdd | Status | resolved => feedback |
| 2010-08-01 15:51 | strikermdd | Resolution | fixed => reopened |
| 2010-08-01 15:54 | strikermdd | File Added: files_20100801.rar | |
| 2010-08-02 08:19 | Bertram | Note Added: 0000698 | |
| 2010-08-09 18:58 | strikermdd | Note Added: 0000702 | |
| 2010-08-09 18:58 | strikermdd | Status | feedback => assigned |
| Copyright © 2000 - 2010 MantisBT Group |