|
You last visited: Today at 08:01
Advertisement
[C++] Affect blend potion
Discussion on [C++] Affect blend potion within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
01/12/2017, 01:06
|
#1
|
elite*gold: 10
Join Date: Jul 2013
Posts: 93
Received Thanks: 416
|
[C++] Affect blend potion
#old
|
|
|
01/12/2017, 07:42
|
#2
|
elite*gold: 274
Join Date: Sep 2016
Posts: 101
Received Thanks: 56
|
Didn't you already release the same thing months ago?
|
|
|
01/12/2017, 07:53
|
#3
|
elite*gold: 10
Join Date: Jul 2013
Posts: 93
Received Thanks: 416
|
Quote:
Originally Posted by </nQQpls>
Didn't you already release the same thing months ago?
|
Oh ****, true. I checked now and exist a topic from summer 2016, i delete him and i put redirect here now.
When i post something i put in more forums and i forget about that, but here is a bit more then old functions.
Thanks ^^
|
|
|
01/12/2017, 13:43
|
#4
|
elite*gold: 0
Join Date: Nov 2016
Posts: 37
Received Thanks: 6
|
very nice =)
Kann man das im chat irgendwie verbergen ?
|
|
|
01/12/2017, 19:03
|
#5
|
elite*gold: 0
Join Date: Oct 2009
Posts: 4,086
Received Thanks: 3,786
|
Quote:
Originally Posted by YoooOOO000
very nice =)
Kann man das im chat irgendwie verbergen ? 
|
Kommentier das aus
PHP Code:
ChatPacket(CHAT_TYPE_INFO, "<Affect Potion> Set icon ingame for item: [%s]", item->GetName());
|
|
|
01/12/2017, 19:23
|
#6
|
wild wild son
elite*gold: 0
Join Date: Feb 2011
Posts: 5,996
Received Thanks: 3,391
|
All buffs and debuffs should be displayed there, such a change is long overdue. Good job!
|
|
|
01/14/2017, 01:29
|
#7
|
elite*gold: 0
Join Date: Apr 2016
Posts: 92
Received Thanks: 4
|
PHP Code:
if app.ENABLE_NEW_AFFECT_POTION: mainAffectPotion = { "affect" : [ chr.AFFECT_POTION_1, chr.AFFECT_POTION_2, chr.AFFECT_POTION_3, chr.AFFECT_POTION_4, chr.AFFECT_POTION_5, chr.AFFECT_POTION_6, chr.AFFECT_POTION_7, chr.AFFECT_POTION_8 ],
"image" : [ ("icon/item/5082%d.tga" % (i + 1)) for i in xrange(len("affect")) ],
"desc" : [ localeInfo.TOOLTIP_AFFECT_POTION_1, localeInfo.TOOLTIP_AFFECT_POTION_2, localeInfo.TOOLTIP_AFFECT_POTION_3, localeInfo.TOOLTIP_AFFECT_POTION_4, localeInfo.TOOLTIP_AFFECT_POTION_5, localeInfo.TOOLTIP_AFFECT_POTION_6, localeInfo.TOOLTIP_AFFECT_POTION_7, localeInfo.TOOLTIP_AFFECT_POTION_8 ] }
What is Wrong?
networkModule.SetSelectCharacterPhase - <type 'exceptions.IndexError'>:list index out of range
|
|
|
01/15/2017, 14:09
|
#8
|
elite*gold: 0
Join Date: Oct 2016
Posts: 74
Received Thanks: 27
|
Schöner Release.
Danke dir.
Great Release.
Thank you.
MfG,
Arroganz
|
|
|
01/16/2017, 11:12
|
#9
|
elite*gold: 150
Join Date: Feb 2009
Posts: 643
Received Thanks: 613
|
Fix_01:
replace:
AFFECT_DATA_DICT[mainAffectPotion["affect"][i]] = (mainAffectPotion["desc"][i], mainAffectPotion["image"][i])
with:
self.AFFECT_DATA_DICT[mainAffectPotion["affect"][i]] = (mainAffectPotion["desc"][i], mainAffectPotion["image"][i])
Fix_02:
Delete this in char_item.cpp to don't get annoying messages from the system:
ChatPacket(CHAT_TYPE_INFO, "<Affect Potion> Set icon ingame for item: [%s]", item->GetName());
or replace the line with:
if (testserver)
ChatPacket(CHAT_TYPE_INFO, "<Affect Potion> Set icon ingame for item: [%s]", item->GetName());
Help_01:
For those who haven't this lines in the uiaffectshower.py:
if app.ENABLE_DRAGON_SOUL_SYSTEM:
AFFECT_DATA_DICT[chr.NEW_AFFECT_DRAGON_SOUL_DECK1] = (localeInfo.TOOLTIP_DRAGON_SOUL_DECK1, "d:/ymir work/ui/dragonsoul/buff_ds_sky1.tga")
AFFECT_DATA_DICT[chr.NEW_AFFECT_DRAGON_SOUL_DECK2] = (localeInfo.TOOLTIP_DRAGON_SOUL_DECK2, "d:/ymir work/ui/dragonsoul/buff_ds_land1.tga")
Add the part below in VegaS - Tutorial in the Binary_AddAffect - function in the uiaffectshower.py at the end!
MfG
Cyber
|
|
|
01/30/2017, 22:19
|
#10
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 1
|
It's necessery, it works with Python 2.7 !!!!
'FIX_01' is fail, because self. metod not argumentum with 'AFFECT_DATA_DICT'.
|
|
|
01/30/2017, 22:44
|
#11
|
elite*gold: 150
Join Date: Feb 2009
Posts: 643
Received Thanks: 613
|
Quote:
Originally Posted by Pisti16
It's necessery, it works with Python 2.7 !!!!
'FIX_01' is fail, because self. metod not argumentum with 'AFFECT_DATA_DICT'.
|
Mh. In my client it was an error, which was fixxed by that. Sorry for that.
MfG
Cyber
|
|
|
06/23/2017, 21:28
|
#12
|
elite*gold: 0
Join Date: Aug 2011
Posts: 83
Received Thanks: 168
|
I dont have any errors but icons dont show ! I tryed 4 times from 0 idk what can be the problem.
|
|
|
10/22/2017, 18:55
|
#13
|
elite*gold: 0
Join Date: Jul 2012
Posts: 2
Received Thanks: 0
|
I have a little problem at the compile for source
In char_affect:
if ((pkAff->dwType == pkAff_blend[0]) || (pkAff->dwType == pkAff_blend[1]) || (pkAff->dwType == pkAff_blend[2]) ||
(pkAff->dwType == pkAff_blend[3]) || (pkAff->dwType == pkAff_blend[4]) || (pkAff->dwType == pkAff_blend[5]))
In char_item:
for (int i = 0; i < _countof(listVnums); i++)
and
if (item->GetVnum() == listVnums[i])
The compilator says that around here i have a problem
But the system it`s working perfectly
|
|
|
01/22/2018, 01:35
|
#14
|
elite*gold: 0
Join Date: Jan 2018
Posts: 1
Received Thanks: 0
|
Hello,
I see a lot of people with the following problem
0122 01:00:40647 :: Traceback (most recent call last):
0122 01:00:40648 :: File "game.py", line 769, in BINARY_NEW_AddAffect
0122 01:00:40648 :: File "uiAffectShower.py", line 578, in BINARY_NEW_AddAffect
0122 01:00:40648 :: TypeError
0122 01:00:40648 :: :
0122 01:00:40648 :: 'str' object is not callable
0122 01:00:40648 ::
there is a correction?
Thanks
|
|
|
01/27/2018, 13:54
|
#15
|
elite*gold: 4
Join Date: Aug 2016
Posts: 47
Received Thanks: 36
|
Schönes Release & Danke dafür Vegas!
Jedoch gibt es 2 Probleme.
1. Die Icons verschwinden nachdem man gestorben ist, obwohl der Effekt weiter Aktiv ist.
2. Sollte man wieder ein Tau benutzen nachdem man gestorben ist, crasht der Channel1/Core1.
|
|
|
Similar Threads
|
[Help]Blend.txt
06/03/2016 - Metin2 Private Server - 0 Replies
Hello EPVP.
Im here to ask you its there a limit of how many potions i can create in Blend.txt?
Is there somthing wrong with those Blends?
#RessWar
section
item_vnum 33313
apply_type RESIST_WARRIOR
apply_value 2 4 6 8 10
apply_duration 1800 1800 1800 1800 1800
|
BLEND bug fix.
02/09/2016 - Metin2 PServer Guides & Strategies - 1 Replies
Hi, epvp.
Search char_item.cpp ITEM_BLEND :
replace with this.
case ITEM_BLEND:
sys_log(0,"ITEM_BLEND!!");
if (Blend_Item_find(item->GetVnum())) {
|
DJ BLEND
11/04/2012 - DarkOrbit - 9 Replies
he is banned , can anyone get his ip ?? i'll find him and get him down !!!
|
Moon potion(auto potion)
09/03/2012 - Metin2 Private Server - 0 Replies
i found close plz
|
Blend.txt
03/27/2012 - Metin2 Private Server - 3 Replies
könnte mir jemand eine normale blend.txt schicken. hab beim umändern was falsch gemacht und jetzt funktioniert es nicht mehr ;> bitte ;>
|
All times are GMT +1. The time now is 08:03.
|
|