Jump to content

FlorinMarian

Premium
  • Posts

    305
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by FlorinMarian

  1. Hello guys !

    I'm Florin from Romania, owner of a legal registered business in my country.

    I would like to know interest from further customers about products  and price.

    I have for you guys few questions:

    1. Will you ever trust a new hosting provider ?

    2. It's enaugh for you Anti-DDOS provided by OVH Dedicated GameServers?

    3. It's enaugh for your applications to provide: VPS, CPanel webhosting and domain registrations?

    3. How much you will be able to pay for:

    10 GB SSD Storage
    1 CPU 4.4 GHz
    100 MB/s uplink
    Unlimited traffic
    1 IP Address
    KVM Virtualization

    Thank you all ! 

    *** I need your pareer to make few estimations about costings (CPanel, WHMCS, SolusVM licenses & dedicated servers rental).

     

  2. I don't have tutorial for new_pet system but maybe those codes will help you finding the right way:

    game.py

    	if app.NEW_PET_SYSTEM:
    		def SetPetEvolution(self, evo):
    			petname = ["Jung", "Wild", "Tapfer", "Heroisch"]
    			self.petmain.SetEvolveName(petname[int(evo)])
    			constInfo.PETMINIEVO = int(evo)
    
    		def SetPetName(self, name):
    			if len(name) > 1 and name != "":
    				self.petmini.Show()
    			self.petmain.SetName(name)
    
    		def SetPetLevel(self, level):
    			self.petmain.SetLevel(level)
    			constInfo.PETMINILEVEL = int(level)
    
    		def SetPetDuration(self, dur, durt):
    			if int(durt) > 0:
    				self.petmini.SetDuration(dur, durt)
    			self.petmain.SetDuration(dur, durt)
    
    		def SetPetBonus(self, hp, dif, sp):
    			self.petmain.SetHp(hp)
    			self.petmain.SetDef(dif)
    			self.petmain.SetSp(sp)
    
    		def SetPetskill(self, slot, idx, lv):
    			#chat.AppendChat(chat.CHAT_TYPE_INFO, "slot %d %d" % (int(slot),int(idx)))
    			self.petmini.SetSkill(slot, idx, lv)
    			self.petmain.SetSkill(slot, idx, lv)
    			self.affectShower.BINARY_NEW_AddAffect(5400+int(idx),int(constInfo.LASTAFFECT_POINT)+1,int(constInfo.LASTAFFECT_VALUE)+1, 0)
    			if int(slot)==0:
    				constInfo.SKILL_PET1=5400+int(idx)
    			if int(slot)==1:
    				constInfo.SKILL_PET2=5400+int(idx)
    			if int(slot)==2:
    				constInfo.SKILL_PET3=5400+int(idx)
    
    		def SetPetIcon(self, vnum):
    			if int(vnum) > 0:
    				self.petmini.SetImageSlot(vnum)
    			self.petmain.SetImageSlot(vnum)
    			
    		def SetPetExp(self, exp, expi, exptot):
    			if int(exptot) > 0:
    				self.petmini.SetExperience(exp, expi, exptot)
    			self.petmain.SetExperience(exp, expi, exptot)
    
    		def PetUnsummon(self):
    			self.petmini.SetDefaultInfo()
    			self.petmini.Close()
    			self.petmain.SetDefaultInfo()
    			self.affectShower.BINARY_NEW_RemoveAffect(int(constInfo.SKILL_PET1),0)
    			self.affectShower.BINARY_NEW_RemoveAffect(int(constInfo.SKILL_PET2),0)
    			self.affectShower.BINARY_NEW_RemoveAffect(int(constInfo.SKILL_PET3),0)
    			constInfo.SKILL_PET1 = 0
    			constInfo.SKILL_PET2 = 0
    			constInfo.SKILL_PET3 = 0
    
    		def OpenPetMainGui(self):
    			if constInfo.PETGUI == 0:
    				self.petmain.Show()
    				self.petmain.SetTop()
    				constInfo.PETGUI = 1
    			else:
    				self.petmain.Close()
    				constInfo.PETGUI = 0
    
    		def OpenPetIncubator(self, pet_new = 0):
    			import uipetincubatrice
    			self.petinc = uipetincubatrice.PetSystemIncubator(pet_new)
    			self.petinc.Show()
    			self.petinc.SetTop()
    			
    		def OpenPetMini(self):
    			self.petmini.Show()
    			self.petmini.SetTop()
    
    		def OpenPetFeed(self):
    			self.feedwind = uipetfeed.PetFeedWindow()
    			self.feedwind.Show()
    			self.feedwind.SetTop()

     

    uitooltip.py

    Before import
    
    if app.NEW_PET_SYSTEM:
    	def pointop(n):
    		t = int(n)
    		if t / 10 < 1:
    			return "0."+n
    		else:		
    			return n[0:len(n)-1]+"."+n[len(n)-1:]
                          
    Before AddItemData
    
    	if app.NEW_PET_SYSTEM:
    		def check_sigillo(self, item_vnum):
    			for x in range(55701,55706):
    				if x == item_vnum:
    					return TRUE	
    			if item_vnum == 55801:
    				return TRUE
    			return FALSE
                   
    On AddItemData function, after
    		### Description ###
    		self.AppendDescription(itemDesc, 26)
    		self.AppendDescription(itemSummary, 26, self.CONDITION_COLOR)
                          
    		if app.NEW_PET_SYSTEM:
    			if self.check_sigillo(itemVnum) or itemVnum == 55002 or itemVnum == 55706:
    				if attrSlot[0][1] != 0:
    					self.AppendSpace(5)
    					self.AppendTextLine("Level: "+str(metinSlot[1]), self.NORMAL_COLOR)
    					self.AppendTextLine("TP: +"+pointop(str(attrSlot[0][1]))+"%", self.SPECIAL_POSITIVE_COLOR)
    					self.AppendTextLine("DEF: +"+pointop(str(attrSlot[1][1]))+"%", self.SPECIAL_POSITIVE_COLOR)
    					self.AppendTextLine("MP: +"+pointop(str(attrSlot[2][1]))+"%", self.SPECIAL_POSITIVE_COLOR)
    					self.AppendSpace(5)
    					if itemVnum != 55002:
    						days = (int(attrSlot[3][1])/60)/24
    						hours = (int(attrSlot[3][1]) - (days*60*24)) / 60
    						mins = int(attrSlot[3][1]) - (days*60*24) - (hours*60)
    						self.AppendTextLine("Verbl. Zeit: %d Tage %d Std. %d Min." % (days, hours, mins), self.SPECIAL_POSITIVE_COLOR)

     

  3. Hi guys !
    I've extended View equipment to Sash and Mount Costume System but now when I try to add also Costume weapon, just cannot get costume weapon on his position.

    on uiscript/equipmentdialog.py if i have

    {"index":16, "x":39, "y":106, "width":32, "height":32},

    KMlTtm70T4e8ja8hU-OhSA.png

    look what happen if i replace 16 with 15

    {"index":15, "x":39, "y":106, "width":32, "height":32},

    3F8BM9zmQqWFIHLWpFhiKg.png

    When I have 16 on uiscript/equipmentdialog.py and 15 on uiscript/costumeequimentdialog.py , there isn't displayed costume weapon in any slot.

  4. Hello !

    I have a strange BUG with Shamy, skill Reflection.

    After few uses of that skill, character get disconnected.

    Relevant syserr:

    Show: cannot find sectree by 926642x297320 mapindex 41 (about 60 lines when core start)
    ForAttrRegionFreeAngle: SECTREE_MANAGER::ForAttrRegion - Unhandled exception. MapIndex: 1 (about 60 lines when core start)
    SYSERR: Dec 22 17:46:32 :: Process: SEQUENCE 3010e400 mismatch 0xaf != 0x0 header 254
    SYSERR: Dec 22 17:46:32 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    	[254 : 0xaf] (many like this, but i don't see any effect ingame)
    SYSERR: Dec 22 17:48:17 :: Analyze: Handshake phase does not handle packet 3 (fd 48)
    SYSERR: Dec 22 17:48:17 :: Process: SEQUENCE 30112000 mismatch 0xaf != 0x63 header 3
    SYSERR: Dec 22 17:48:17 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    	[003 : 0xaf] (few like this, effect unknown)
    SYSERR: Dec 22 18:00:56 :: Process: SEQUENCE 3010cc00 mismatch 0x40 != 0x63 header 7
    SYSERR: Dec 22 18:00:56 :: Process: SEQUENCE_LOG [Slay]-------------
    	[007 : 0x6f]
    	[007 : 0x5f]
    	[007 : 0xae]
    	[007 : 0x5b]
    	[007 : 0x44]
    	[007 : 0xfc]
    	[007 : 0xca]
    	[061 : 0xcf]
    	[007 : 0x13]
    	[051 : 0xef]
    	[007 : 0xac]
    	[054 : 0x20]
    	[007 : 0x3f]
    	[007 : 0xb8]
    	[051 : 0xc6]
    	[007 : 0x6]
    	[054 : 0xdd]
    	[007 : 0xfe]
    	[007 : 0xab]
    	[051 : 0xce]
    	[007 : 0x40] (disconnect for Reflection use)

    I think it's a common problem, but i have no idea for solution.

    How i realised that it's a common problem? Saw this on public sources from marty:

    @fixme135: on char.cpp; if the Sync is made before a move packet and the sectree differs of few x/y coordinates, the sectree will be changed without update (crash character) (troublesome -> removed)

    Thanks all !

  5. Thanks for nothing this time.

    Solved myself editing item.cpp like this:

    #if defined __WEAPON_COSTUME_SYSTEM__ && !defined __CHANGELOOK_SYSTEM__
    				else if (GetSubType() == COSTUME_WEAPON)
    				{
    					toSetPart = PART_WEAPON;
    					if (!bAdd)
    					{
    						const CItem* pWeapon = m_pOwner->GetWear(WEAR_WEAPON);
    						toSetValue = (NULL != pWeapon) ? pWeapon->GetVnum() : m_pOwner->GetPart(PART_WEAPON);						
    					}
    				}
    #endif
    #if defined __WEAPON_COSTUME_SYSTEM__ && defined __CHANGELOOK_SYSTEM__
    				else if (GetSubType() == COSTUME_WEAPON)
    				{		
    
    					toSetPart = PART_WEAPON;
    					if (!bAdd)
    					{
    						const CItem* pWeapon = m_pOwner->GetWear(WEAR_WEAPON);
    						if(NULL != pWeapon)
    						{
    							if(pWeapon->GetTransmutation() != 0)
    								toSetValue = pWeapon->GetTransmutation();
    							else
    								toSetValue = pWeapon->GetVnum();
    						}
    					}
    				}
    #endif

     

    • Love 2
  6. I've expected that, but it looks good...

    		case ITEM_WEAPON:
    			{
    #ifdef __WEAPON_COSTUME_SYSTEM__
    				if (m_pOwner->GetWear(WEAR_COSTUME_WEAPON) != 0)
    					break;
    #endif
    				if (bAdd)
    				{
    					if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
    					{
    #ifdef __CHANGELOOK_SYSTEM__
    						DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum();
    						m_pOwner->SetPart(PART_WEAPON, dwRes);
    #else
    						m_pOwner->SetPart(PART_WEAPON, GetVnum());
    #endif
    					}
    				}
    				else
    				{
    					if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
    #ifdef __WEAPON_COSTUME_SYSTEM__
    						m_pOwner->SetPart(PART_WEAPON, 0);
    #else
    						m_pOwner->SetPart(PART_WEAPON, m_pOwner->GetOriginalPart(PART_WEAPON));
    #endif
    				}
    			}
    			break;

     

  7. Hello !

    I own a small dedicated server on OVH GAMING for my server.

    Because I pay a lot for it and not always will have donations, i would like to sell some KVM VPS from my dedicated.

    If someone will be interested I will buy SolusVM licenses to give full acces to server.

    I'll accept payments with Card/Paysafecard/Paypal (customers will donate on my metin2 server because there i have automated payments) and if i will sell over 5 servers, i'll be able to buy a whmcs license (39 dollars/month).

    If someone want to test antiddos, ping,  lag etc. can use my server as demo. ( www.metin2hfm.ro ) (now virtualised with proxmox, 2x VDS)

    I'll sell a maximum of 6 servers. (2 used for my server & web server)

    CPU: 1x 4.4 GHz core (i7-4790K)

    RAM: 2 GB

    SSD: 50 GB

    Price: 20 euro monthly

     

    Open for critics, ideas, tips etc.

  8. Hello !

    I've found a strange BUG on change leader function.

    The story:

    • Name1 create guild called Guild;
    • Name1 change leader to another account called Name2;
    • Name1 delete his character and create it again with same name;
    • Name2 try to move guild Guild back to Name1 but Guild go to deleted character and Guild remain without leader.

    Any solution ? 

    Thank you !

  9. Hello devs !

    I've installed this VIP system.

     Everything works fine less that function which normally have to remove flag over the head if u see a VIP.

    Any help ? 

    Thank you !

    void CInstanceBase::__AttachEmpireEffect(DWORD eEmpire)
    {
    	if (!__IsExistMainInstance())
    		return;	
    	
    	CInstanceBase* pkInstMain=__GetMainInstancePtr();
    
    	if (IsWarp())
    		return;
    	if (IsObject())
    		return;
    	if (IsFlag())
    		return;
    	if (IsResource())
    		return;
    	if (IsNPC())
    		return;
    	
    	if (pkInstMain->IsGameMaster())
    	{
    	}
    	else if (pkInstMain->IsVIP())
    	{
    	}
    	else
    	{
    		if (pkInstMain->IsSameEmpire(*this))
    			return;
    
    		// HIDE_OTHER_EMPIRE_EUNHYEONG_ASSASSIN
    		if (IsAffect(AFFECT_EUNHYEONG))
    			return;
    		// END_OF_HIDE_OTHER_EMPIRE_EUNHYEONG_ASSASSIN
    	}
    
    	if (IsGameMaster())
    		return;
    
    	if (IsVIP())
    		return;
    		
    	__EffectContainer_AttachEffect(EFFECT_EMPIRE+eEmpire);
    }

     

  10. 1 oră în urmă, Root a spus:

    Try this 

      Ascunde conținuturi
    
    
    LPCHARACTER pkChr;//Setting pinter for char class
    int blocked_items[] = {72723,  72724, 72725, 72726};//Banned potions
    
    for(size_t i = 0; i < INVENTORY_MAX_NUM; i++) //Running ineventory scan
    {
    for (size_t id = 0; id < 4; id++) 
    {
    if(pkChr->GetInventoryItem(i)> 0 && pkChr->GetInventoryItem(i)->GetSocket(0) == 1 && pkChr->GetInventoryItem(i)->GetVnum() == blocked_items[id])
    {
    			pkChr->ChatPacket(CHAT_TYPE_INFO, "%s Potion detected" , pkChr->GetName());
    			return false;//Stoping code here
    }

     

     

    haha, great bro but i wanna disable some functions while autopotions are enabled, not only blocking potions use.

    Thank you !

  11. Acum 9 ore, Root a spus:

    if you trying to restrict something when in duel you can check my thread here some use of the functions

      Reafișează conținuturi ascunse

     

     

    It's a good point but i want to check if autopotion it's enabled.

    Try to check with

    if (FindAffect(AFFECT_AUTO_HP_RECOVERY) || FindAffect(AFFECT_AUTO_SP_RECOVERY))

    but don't succeed.

  12. Hello !

    I have a weird bug on my test server.

    When I try to open NPC Category with two characaters, one succed and one fail [maybe there are many which fail/succeed but i didn't tested].

    eB-Qy6RkTsSgPKbYYpAbEQ.png

    Syserr - empty

    Syslog:

    Jul 22 09:55:54 :: SHOP: END: KinkySex
    Jul 22 09:55:55 :: OnClick Magazin special[vnum 9003 ServerUniqueID 15, pid 0] by KinkySex
    Jul 22 09:55:55 :: reallocating buffer to 8192, current 1024
    Jul 22 09:55:55 :: SHOP: START: KinkySex
    Jul 22 09:55:56 :: SHOP: END: KinkySex
    Jul 22 09:56:03 :: GLOBAL_TIME: Jul 22 09:56:03 time_gap 0
    Jul 22 09:56:24 :: QUEST ScriptAnswer pid 181633 answer 6
    Jul 22 09:56:25 :: OnClick Magazin special[vnum 9003 ServerUniqueID 15, pid 0] by [FlorinMarian]
    Jul 22 09:56:26 :: QUEST ScriptAnswer pid 181633 answer 6

     

×
×
  • 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.