Jump to content

Thrall

P-Server Owner
  • Posts

    87
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Thrall

  1. Works, thanks Mali!

    The only problem i found is as i am moving on the map, the minimap does not load the other chunk of minimap.dds from the map

    Screenshot-1.png

     

    I fixed it by adding

    #if defined(ENABLE_NIGHT_SNOW_ATLAS_MINIMAP)
    	CMapOutdoor& rkMap = rkBG.GetMapOutdoorRef();
    
    	const bool bIsNight = rkBG.GetDayMode() == CPythonBackground::DAY_MODE_DARK
    		&& rkBG.GetNightModeOption()
    		&& rkBG.IsBoomMap(rkBG.GetWarpMapName());
    
    	const bool bIsSnow = rkBG.GetXMasShowEvent()
    		&& rkBG.GetSnowTextureModeOption()
    		&& rkBG.IsSnowMap(rkBG.GetWarpMapName());
    
    	//Minimap
    	rkMap.ReloadMinimapTexture(bIsNight, bIsSnow);
    #endif

    in the void CPythonMiniMap::Update function

    • Lmao 1
  2. Those function are doing the same thing?

    bool CPythonPlayer::IsDead()
    {
    	CInstanceBase* pMainInstance = CPythonCharacterManager::Instance().GetMainInstancePtr();
    	if (!pMainInstance)
    		return false;
    
    	return pMainInstance->IsDead();
    }
    
    bool CPythonPlayer::IsPoly()
    {
    	CInstanceBase* pMainInstance = CPythonCharacterManager::Instance().GetMainInstancePtr();
    	if (!pMainInstance)
    		return false;
    
    	return pMainInstance->IsPoly();
    }

     

  3. Small Announcement

    Dear players,
    We have a few surprises for you. 

    Today we decided to activate permanently the following features from iShop for all accounts:
    - Increased chance to gain experience
    - Increased chance to drop items

    With the ocasion of Back to School we introduce you the new Nazar Amulet!
    - Extremely powerfull, it will only be available on special ocasions or events
    - Everyone can claim it for free directly from ishop
    - Offer and amulet available until 01.10.2023

    nazar-discord-banner-en.png

  4. For who uses gold directly in chests, i added this:

    Spoiler
    			case CSpecialItemGroup::GOLD:
    			{
    				// Prevents yang overfloww
    				if (llItemCount + GetGold() >= GOLD_MAX)
    				{
    					ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("»ç¿ë Á¦ÇÑ·®À» ÃÊ°úÇÏ¿´½À´Ï´Ù."));
    					if (item)
    						item->Lock(false);
    					return false;
    				}

     

     

  5. The system has some crashes at least in my case.

     

    How to reproduce it:

    If you /rewarp in Red Forest or Grotto of Exile while there is at least one player there, commonly you will get a crash like this:

    Screenshot-2.png

     

    I used Windows Local Debugger to see if i could track something and it got me to:

    image.png

     

    Still have no ideea if this is just me or not, any help would be appreciated.

     

  6. Website

    website.png

    Discord

    discord.png

    Small Announcement

    Dear players,
    We have a few surprises for you. 

    Today we decided to activate permanently the following features from iShop for all accounts:
    - Increased chance to gain experience
    - Increased chance to drop items

    With the ocasion of Back to School we introduce you the new Nazar Amulet!
    - Extremely powerfull, it will only be available on special ocasions or events
    - Everyone can claim it for free directly from ishop
    - Offer and amulet available until 01.10.2023

    nazar-discord-banner-en.png

     

    Presentation

    btn-en-2.png
     

    Spoiler

    row-1-column-1.png

    row-2-column-1.png

    row-3-column-1.png

    row-4-column-1.png

    row-5-column-1.png

    row-6-column-1.png

    row-7-column-1.png

    row-8-column-1.png

    row-9-column-1.png

    row-10-column-1.png

    row-11-column-1.png

    row-12-column-1.png

    row-13-column-1.png

    row-14-column-1.png

    row-15-column-1.png

    row-16-column-1.png

    row-17-column-1.png

    row-18-column-1.png

    row-19-column-1.png

    row-20-column-1.png

    row-21-column-1.png

    row-22-column-1.png

    row-23-column-1.png

    row-24-column-1.png

    row-25-column-1.png

    row-26-column-1.png

    row-27-column-1.png

    row-28-column-1.png

    row-29-column-1.png

    row-30-column-1.png

    row-31-column-1.png

    row-32-column-1.png

    row-33-column-1.png

    row-34-column-1.png

    row-35-column-1.png

    row-36-column-1.png

    row-37-column-1.png

    row-38-column-1.png

    row-39-column-1.png

    row-40-column-1.png

    row-41-column-1.png

    row-42-column-1.png

    row-43-column-1.png

    row-44-column-1.png

    row-45-column-1.png


     

  7. For no damage skill, some may have this problem

    int CHARACTER::GetArrowAndBow(LPITEM * ppkBow, LPITEM * ppkArrow, int iArrowCount)
    {
    	LPITEM pkBow;
    	if (!(pkBow = GetWear(WEAR_WEAPON)) || pkBow->GetSubType() != WEAPON_BOW)
    		return 0;
    
    	LPITEM pkArrow;
    #ifdef ENABLE_QUIVER_SYSTEM
    	if (!(pkArrow = GetWear(WEAR_ARROW)) || pkArrow->GetType() != ITEM_WEAPON || (pkArrow->GetSubType() != WEAPON_ARROW && pkArrow->GetSubType() != WEAPON_QUIVER))
    #else
    	if (!(pkArrow = GetWear(WEAR_ARROW)) || pkArrow->GetType() != ITEM_WEAPON || pkArrow->GetSubType() != WEAPON_ARROW)
    #endif
    		return 0;
    
    #ifdef ENABLE_QUIVER_SYSTEM
    	if (pkArrow->GetSubType() == WEAPON_QUIVER)
    		// iArrowCount = MIN(iArrowCount, pkArrow->GetSocket(0) > 0 ? pkArrow->GetSocket(0) - time(0) : 1);
    		// iArrowCount = MIN(iArrowCount, pkArrow->GetSocket(0) - time(0));
    		iArrowCount = MIN(iArrowCount, 1);
    	else
    		iArrowCount = MIN(iArrowCount, pkArrow->GetCount());
    #else
    	iArrowCount = MIN(iArrowCount, pkArrow->GetCount());
    #endif
    
    	*ppkBow = pkBow;
    	*ppkArrow = pkArrow;
    
    	return iArrowCount;
    }

     

    • Good 1
  8. I had some problems in ChatLog but i fixed it like this

     

    ## ChatLogWindow
    class ChatLogWindow(ui.Window):
    
    	BLOCK_WIDTH = 32
    	CHAT_MODE_NAME = [ localeInfo.CHAT_NORMAL, localeInfo.CHAT_PARTY, localeInfo.CHAT_GUILD, localeInfo.CHAT_SHOUT, localeInfo.CHAT_INFORMATION, localeInfo.CHAT_NOTICE, ]
    	CHAT_MODE_INDEX = [ chat.CHAT_TYPE_TALKING,
    						chat.CHAT_TYPE_PARTY,
    						chat.CHAT_TYPE_GUILD,
    						chat.CHAT_TYPE_SHOUT,
    						chat.CHAT_TYPE_INFO,
    						chat.CHAT_TYPE_NOTICE, ]
    
    	if app.ENABLE_DICE_SYSTEM:
    		CHAT_MODE_NAME.append(localeInfo.CHAT_DICE_INFO)
    		CHAT_MODE_INDEX.append(chat.CHAT_TYPE_DICE_INFO)
    
    	if app.ENABLE_CHATTING_WINDOW_RENEWAL:
    		CHAT_MODE_NAME.append("EXP")
    		CHAT_MODE_INDEX.append(chat.CHAT_TYPE_EXP_INFO)
    
    		CHAT_MODE_NAME.append(localeInfo.UI_ITEM)
    		CHAT_MODE_INDEX.append(chat.CHAT_TYPE_ITEM_INFO)
    
    		CHAT_MODE_NAME.append(localeInfo.CHEQUE_SYSTEM_UNIT_YANG)
    		CHAT_MODE_INDEX.append(chat.CHAT_TYPE_MONEY_INFO)

     

  9. @ TMP4at first, i didn't took seriously the comment from @ xTryhardbut after you explained i started wondering and you are right.

    When i saw how this problem occurs, i started thinking the cause may be configs, ports, and things like that, but in fact there is not.

    Last night I started thinking about systems i have added and reviewed everything, i cleaned some junk and removed some unused systems, bit with no result.

    Then, I noticed in the multilangiage i have from owsap there is something wrong but because of my fault when I tried addapting the notice_all function and i failed doing it correctly.

    So I tested in the game and indeed after a quest triggers notice_all, instantly SHOUT, WHISPERZ ADD FRIENDS everything breaks between cores and channels.

    In my case the problem is notice_all addaption, after a while I find it and thank you for help, now it's time to fix it's i am not sure though for the rest of the people who have this issue what can be the problem in theyr case but i hope what I said gives you a little help at least in the direction where you have to search for your problem.

     

    • Good 1
    • Love 1
  10. On 1/24/2021 at 1:35 PM, DemOnJR said:

    If is missing something is because i don't remember from where i edited it an year ago.

     

    accountlistwindow.py

    		{
    			"name" : "sterge",
    			"type" : "button",
    
    			"x" : 105,
    			"y" : 265,
    
    			"width" : 41,
    			"height" : 21,
    
    			"text" : "Sterge",
    
    			"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
    			"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
    			"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
    		},

     

    uiselectcredentials.py

    After:

    self.cancelButton.SAFE_SetEvent(self.__OnCancel)

     

    Add:

    self.stergeButton.SAFE_SetEvent(self.__OnSterge)

     

    After:

    self.okButton=self.GetChild("ok")

     

    Add:

    self.stergeButton=self.GetChild("sterge")

     

    After:

    def __OnOK(self):
        self.Hide()

     

    Add:

      def __OnSterge(self):
        self.Hide()

     

    After:

    	def __OnOK(self):
    		selItem=self.fileListBox.GetSelectedItem()
    		if selItem:
    			if self.selectEvent:
    				self.selectEvent(selItem.GetText())
    			with open('user//preferred','w') as mainpg:
    				mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())) )
    			self.__PopupMessage("{} selectat, conecteaza-te apasand load.".format(selItem.GetText()))
    			self.Hide()
    		else:
    			self.__PopupMessage("Nu ai ales niciun cont din lista.")

     

    Add:

     

    	def __OnSterge(self):
    		selItem=self.fileListBox.GetSelectedItem()
    		if selItem:
    			if self.selectEvent:
    				self.selectEvent(selItem.GetText())
    			with open('user//credentials', 'r+') as f:
    				data = ''.join([i for i in f if not i.lower().startswith(selItem.GetText())])
    				f.seek(0)
    				f.write(data)
    				f.truncate()
    			self.__PopupMessage("{} a fost sters.".format(selItem.GetText()))
    			self.__RefreshFileList()
    		else:
    			self.__PopupMessage("Nu ai ales niciun cont din lista.")

     

     

    Thanks a lot for sharing, works!

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