|
You last visited: Today at 03:06
Advertisement
[C++] Icons for item_blend with real-time
Discussion on [C++] Icons for item_blend with real-time within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
07/15/2016, 06:45
|
#1
|
elite*gold: 10
Join Date: Jul 2013
Posts: 93
Received Thanks: 416
|
[C++] Icons for item_blend with real-time
|
|
|
07/15/2016, 11:00
|
#2
|
elite*gold: 105
Join Date: Jun 2015
Posts: 453
Received Thanks: 294
|
Nice release 
Thank you!
|
|
|
07/15/2016, 13:36
|
#3
|
elite*gold: 0
Join Date: Jul 2013
Posts: 8
Received Thanks: 3
|
ty
|
|
|
07/15/2016, 14:15
|
#4
|
elite*gold: 50
Join Date: May 2011
Posts: 270
Received Thanks: 991
|
Too much icons over there, need to rewrite the __ArrangeImageList function to split those icons into multiline 
But nice, thanks.
|
|
|
07/15/2016, 16:11
|
#5
|
elite*gold: 0
Join Date: Nov 2011
Posts: 32
Received Thanks: 7
|
Thank's for the release. I think too, is make too much icons with skill's icon
|
|
|
07/15/2016, 16:13
|
#6
|
elite*gold: 0
Join Date: Jul 2016
Posts: 63
Received Thanks: 44
|
Nice release, works fine
|
|
|
07/15/2016, 17:07
|
#7
|
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 499
|
nice thanks
|
|
|
07/15/2016, 22:58
|
#8
|
elite*gold: 0
Join Date: May 2016
Posts: 8,679
Received Thanks: 1,638
|
Hab gerade das Video angeschaut, ist recht praktisch... Wir kennen ja alle den Moment wenn wir 1000x alle Taus durch drücken
Danke für den RLS ist eigntl. recht nützlich
Thanks bro
|
|
|
07/16/2016, 00:02
|
#9
|
elite*gold: 0
Join Date: Jul 2013
Posts: 50
Received Thanks: 24
|
Thanks. ^^ GJ
|
|
|
07/16/2016, 12:08
|
#10
|
elite*gold: 0
Join Date: Jan 2009
Posts: 815
Received Thanks: 199
|
PHP Code:
//3.) Search: Code: AddAffect(affect_type, apply_type, apply_value, 0, apply_duration, 0, false);
In meiner char_item.cpp gibts die Zeile nicht ! was mach ich dann ?
Die einzigen Zeilen die ran kommen sind diese:
PHP Code:
case ITEM_USE: { if (item->GetVnum() > 50800 && item->GetVnum() <= 50820) { if (test_server) sys_log (0, "ADD addtional effect : vnum(%d) subtype(%d)", item->GetOriginalVnum(), item->GetSubType());
int affect_type = AFFECT_EXP_BONUS_EURO_FREE; int apply_type = aApplyInfo[item->GetValue(0)].bPointType; int apply_value = item->GetValue(2); int apply_duration = item->GetValue(1);
switch (item->GetSubType()) { case USE_ABILITY_UP: if (FindAffect(affect_type, apply_type)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ÀÌ¹Ì È¿°ú°¡ °É·Á ÀÖ½À´Ï´Ù.")); return false; }
{ switch (item->GetValue(0)) { case APPLY_MOV_SPEED: AddAffect(affect_type, apply_type, apply_value, AFF_MOV_SPEED_POTION, apply_duration, 0, true, true); break;
case APPLY_ATT_SPEED: AddAffect(affect_type, apply_type, apply_value, AFF_ATT_SPEED_POTION, apply_duration, 0, true, true); break;
case APPLY_STR: case APPLY_DEX: case APPLY_CON: case APPLY_INT: case APPLY_CAST_SPEED: case APPLY_RESIST_MAGIC: case APPLY_ATT_GRADE_BONUS: case APPLY_DEF_GRADE_BONUS: AddAffect(affect_type, apply_type, apply_value, 0, apply_duration, 0, true, true); break; } }
|
|
|
07/16/2016, 12:44
|
#11
|
elite*gold: 10
Join Date: Jul 2013
Posts: 93
Received Thanks: 416
|
Quote:
Originally Posted by troll1981
[php]
In meiner char_item.cpp gibts die Zeile nicht ! was mach ich dann ?
Die einzigen Zeilen die ran kommen sind diese:
|
You need to search that in:
Check here the differences between files
|
|
|
07/16/2016, 14:06
|
#12
|
elite*gold: 0
Join Date: Mar 2014
Posts: 738
Received Thanks: 549
|
Wollte sowas selber mal irgendwie versuchen hinzu bekommen xD Jetzt erspar ich mir die Arbeit, danke
|
|
|
07/18/2016, 23:02
|
#13
|
elite*gold: 10
Join Date: Jul 2013
Posts: 93
Received Thanks: 416
|
#Bug fixed
When you die you lose all sites that belong affect potion icons.
[File: src/Server/game/src/char_affect.cpp]
//1.) Search:
Code:
if (IsPC())
{
SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn);
}
//2.)Add this before:
Code:
#ifdef ENABLE_NEW_AFFECT_POTION
int pkAff_blend[] = {AFFECT_POTION_1, AFFECT_POTION_2, AFFECT_POTION_3, AFFECT_POTION_4, AFFECT_POTION_5, AFFECT_POTION_6};
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]))
{
++it;
continue;
}
#endif
|
|
|
07/20/2016, 17:59
|
#14
|
elite*gold: 0
Join Date: May 2016
Posts: 2
Received Thanks: 0
|
I don't have this icons when i use item

sysser
0720 18:20:24506 :: File "game.py", line 758, in BINARY_NEW_AddAffect
0720 18:20:24507 :: File "uiAffectShower.py", line 558, in BINARY_NEW_AddAffect
0720 18:20:24507 :: TypeError
0720 18:20:24507 :: :
0720 18:20:24507 :: 'str' object is not callable
0720 18:20:24507 ::
0720 18:20:24507 :: Traceback (most recent call last):
0720 18:20:24507 :: File "game.py", line 758, in BINARY_NEW_AddAffect
0720 18:20:24507 :: File "uiAffectShower.py", line 558, in BINARY_NEW_AddAffect
0720 18:20:24507 :: TypeError
0720 18:20:24507 :: :
0720 18:20:24507 :: 'str' object is not callable
0720 18:20:24507 ::
0720 18:20:30282 :: Traceback (most recent call last):
0720 18:20:30282 :: File "game.py", line 758, in BINARY_NEW_AddAffect
0720 18:20:30282 :: File "uiAffectShower.py", line 558, in BINARY_NEW_AddAffect
0720 18:20:30283 :: TypeError
0720 18:20:30283 :: :
0720 18:20:30283 :: 'str' object is not callable
0720 18:20:30283 ::
|
|
|
07/23/2016, 22:10
|
#15
|
elite*gold: 10
Join Date: Jul 2013
Posts: 93
Received Thanks: 416
|
|
|
|
 |
|
Similar Threads
|
Real time gold updating
12/17/2019 - SRO Coding Corner - 19 Replies
Hi,
I want to update huge amounts of gold in runtime, without teleporting.
Imagine a scroll that gives you a huge amount of gold like 100B. Upon usage your gold will be updated without teleporting.
Whenever your gold amount changes there is a gold update packet (0x304E) coming from the server. If you send that to client your gold will be updated. But there's a problem, for some reason, even though your gold amount changes at your inventory (and you update from db as well), when you try to...
|
real-time automated silk
09/22/2013 - SRO Private Server - 0 Replies
i need any hint to make the real time automated silk so if you buy silk on the website or using any of other tools, you will get a message in game, i want this in real time, you can do this while logged in, and it will show the message + update your silk while you are logged in
so any clue for that ?
|
Boss map in real time
06/14/2008 - EO Exploits, Hacks, Tools & Macros - 1 Replies
Idea for a programer!
In EO when you make team there are doots on map whit your teammates and leader!
OK, hard part! Can someone do a script/hack/... that show u the bosses in real time?(like EO is showing u teammates);
Sorry for the post! Sorry if this post does not have meaninig!
|
All times are GMT +1. The time now is 03:07.
|
|