Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 14:33

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old   #1
 
elite*gold: 10
Join Date: Jul 2013
Posts: 92
Received Thanks: 397
Smile [C++] Icons for item_blend with real-time




VegaS ♆ is offline  
Thanks
27 Users
Old 07/15/2016, 11:00   #2

 
elite*gold: 105
Join Date: Jun 2015
Posts: 453
Received Thanks: 293
Nice release
Thank you!


Im Raylee is offline  
Old 07/15/2016, 13:36   #3
 
elite*gold: 0
Join Date: Jul 2013
Posts: 8
Received Thanks: 3
ty
jardel13 is offline  
Old 07/15/2016, 14:15   #4
 
elite*gold: 50
Join Date: May 2011
Posts: 266
Received Thanks: 984
Too much icons over there, need to rewrite the __ArrangeImageList function to split those icons into multiline
But nice, thanks.


xP3NG3Rx is offline  
Thanks
1 User
Old 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
Nadellia is offline  
Old 07/15/2016, 16:13   #6
 
elite*gold: 0
Join Date: Jul 2016
Posts: 66
Received Thanks: 44
Nice release, works fine
Đurek_v2 is offline  
Old 07/15/2016, 17:07   #7
 
elite*gold: 0
Join Date: Dec 2014
Posts: 988
Received Thanks: 482
nice thanks
BizepsSupportAccount is offline  
Old 07/15/2016, 22:58   #8
 
elite*gold: 0
The Black Market: 105/0/0
Join Date: May 2016
Posts: 8,681
Received Thanks: 1,632
Hab gerade das Video angeschaut, ist recht praktisch... Wir kennen ja alle den Moment wenn wir 1000x alle Taus durch drcken

Danke fr den RLS ist eigntl. recht ntzlich

Thanks bro
悪地城 is offline  
Old 07/16/2016, 00:02   #9
 
elite*gold: 0
Join Date: Jul 2013
Posts: 40
Received Thanks: 17
Thanks. ^^ GJ
jma96 is offline  
Old 07/16/2016, 12:08   #10
 
elite*gold: 0
Join Date: Jan 2009
Posts: 814
Received Thanks: 198
PHP Code:
//3.) Search:
Code:
                            
AddAffect(affect_typeapply_typeapply_value0apply_duration0false); 
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_typeapply_type))
                            {
                                
ChatPacket(CHAT_TYPE_INFOLC_TEXT("̹ ȿ ɷ ֽϴ."));
                                return 
false;
                            }

                            {
                                switch (
item->GetValue(0))
                                {
                                    case 
APPLY_MOV_SPEED:
                                        
AddAffect(affect_typeapply_typeapply_valueAFF_MOV_SPEED_POTIONapply_duration0truetrue);
                                        break;

                                    case 
APPLY_ATT_SPEED:
                                        
AddAffect(affect_typeapply_typeapply_valueAFF_ATT_SPEED_POTIONapply_duration0truetrue);
                                        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_typeapply_typeapply_value0apply_duration0truetrue);
                                        break;
                                }
                            } 
troll1981 is offline  
Old 07/16/2016, 12:44   #11
 
elite*gold: 10
Join Date: Jul 2013
Posts: 92
Received Thanks: 397
Quote:
Originally Posted by troll1981 View Post
[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:
Code:
case ITEM_BLEND:
Check here the differences between files

VegaS ♆ is offline  
Old 07/16/2016, 14:06   #12
 
elite*gold: 0
Join Date: Mar 2014
Posts: 740
Received Thanks: 548
Wollte sowas selber mal irgendwie versuchen hinzu bekommen xD Jetzt erspar ich mir die Arbeit, danke
xSess is offline  
Old 07/18/2016, 23:02   #13
 
elite*gold: 10
Join Date: Jul 2013
Posts: 92
Received Thanks: 397

#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
VegaS ♆ is offline  
Thanks
2 Users
Old 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 ::
Pezetxd is offline  
Old 07/23/2016, 22:10   #15
 
elite*gold: 10
Join Date: Jul 2013
Posts: 92
Received Thanks: 397


VegaS ♆ is offline  
Reply

Tags
c++, epvp vegas, python



« [C++] Affect blend potion | [Release] Halloween Stuff »

Similar Threads
Real time gold updating
10/06/2015 - SRO Coding Corner - 18 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 14:33.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.