-
Posts
199 -
Joined
-
Last visited
-
Days Won
7 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Frozen
-
HELP compile client binary
Frozen replied to Sydai's topic in Community Support - Questions & Answers
You need to put the include file d3dx9math.h in this directory: e:\source_client\extern\include\directx9\d3dx9math.h if you dont have the file here it is: [Hidden Content] -
[HELP] unresolved external symbol
Frozen replied to Aurora's topic in Community Support - Questions & Answers
Read this and see if helps: [Hidden Content] -
Reverse engineering
-
official How To Make Pet Name Like Official with Level
Frozen replied to Frozen's topic in Programming & Scripts
That's totally correct, thanks for the optimization. Kind Regards. -
official How To Make Pet Name Like Official with Level
Frozen replied to Frozen's topic in Programming & Scripts
Have you done this part? Server-Source, char.cpp Search for: if (IsPC() == true && (LC_IsEurope() == true || LC_IsCanada() == true || LC_IsSingapore() == true)) Replace the complete if-statement with: if ((IsPC() || IsMonster() || IsPet()) == true) { addPacket.dwLevel = GetLevel(); } else { addPacket.dwLevel = 0; } Credits: .Avenue -
official How To Make Pet Name Like Official with Level
Frozen replied to Frozen's topic in Programming & Scripts
Take a look in .Avenue topic, link is in the end of this topic. -
official How To Make Pet Name Like Official with Level
Frozen replied to Frozen's topic in Programming & Scripts
You can do it with a quest. Take a look of Denis topic: [Hidden Content] -
official How To Make Pet Name Like Official with Level
Frozen posted a topic in Programming & Scripts
Hey guys, i think not many people know how to put the pet name like oficial so im making a tutorial on how to do it. First, go to game->PetSystem.cpp and search for: Under that function add this: Search for: Replace with: In that same function (Summon), you will find this: Add under: Search for: Replace with: In the same function you will find: Replace with: Save the file. Open game->PetSystem.h. Search for: Add under: Search for: Add under: A little bit under you will find: Replace with: Search for: Add Under; Save the file. Lastly we will change the quest function pet.summon(mobVnum, petName, bFromFar) to pet.summon(mobVnum, petName, petLevel, bFromFar) Open game->questlua_pet.cpp and search for : Replace the function with: Save the file. Compile It. Done Now just change your pet quest function to pet.summon(mobVnum, petName, petLevel, bFromFar). To make the clientside changes check out .Avenue topic: [Hidden Content] PS: In .Avenue topic dont forget to check also the second post he done is a important step to make you see the pet level. I hope this was usefull, Kind Regards, Frozen -
You want a delay after clicking in that button? For example: Click on button -> Wait 3 seconds -> Image appear
-
In the file introselect in function OnUpdate you have something that is calling a list, and the index that is calling is out of the list for example: list = {1,2,3,4} the number one is the index 0, the number 2 is the index 1 ... list[4] is a index out of range
- 1 reply
-
- 1
-
it worked?
-
did you replace this? def MakeEachButton(self, i): if self.skin == 3: button = BarButton("TOP_MOST") button.SetParent(self.board) button.SetSize(106,26) button.SetPosition(self.sx + self.board.GetWidth()/2+((i*2)-1)*56-56, self.sy+(event.GetLineCount(self.descIndex))*16+20+5) button.SetText("a") button.SetTextColor(0xff000000) else: i = i % 8 button = BarButton("TOP_MOST") button.SetParent(self.board) button.SetSize(200,26) button.SetPosition(self.sx + self.board.GetWidth()/2-100,self.sy+(event.GetLineCount(self.descIndex)+i*2)*16+20+5) button.SetText("a") button.SetTextColor(0xffffffff) return button if yes, show the syssr of the client pls
-
Yes, but not the callEvent
-
Try this: class BarButton(ui.Button): btpath = "d:/ymir work/ui/public/" # HERE THE PATH btnormal = btpath + "/btnnormal.tga" # HERE THE BUTTON NAME btover = btpath + "/btnnormal.tga" # HERE THE BUTTON NAME btdisable = btpath + "/btnnormal.tga" # HERE THE BUTTON NAME def __init__(self, layer = "UI", aButtonUp = btnormal, aButtonDown = btdisable, aButtonOver = btover): ui.Button.__init__(self,layer) self.SetUpVisual(aButtonUp) self.SetOverVisual(aButtonOver) self.SetDownVisual(aButtonDown) def CallEvent(self): ui.Button.CallEvent(self) and replace the MakeEachButtonFunction for this: def MakeEachButton(self, i): if self.skin == 3: button = BarButton("TOP_MOST") button.SetParent(self.board) button.SetSize(106,26) button.SetPosition(self.sx + self.board.GetWidth()/2+((i*2)-1)*56-56, self.sy+(event.GetLineCount(self.descIndex))*16+20+5) button.SetText("a") button.SetTextColor(0xff000000) else: i = i % 8 button = BarButton("TOP_MOST") button.SetParent(self.board) button.SetSize(200,26) button.SetPosition(self.sx + self.board.GetWidth()/2-100,self.sy+(event.GetLineCount(self.descIndex)+i*2)*16+20+5) button.SetText("a") button.SetTextColor(0xffffffff) return button dont forget to put the buttons path
-
sure, but i cant test it, so i will work blind.. i will try
-
int _say(lua_State* L) { ostringstream s; combine_lua_string(L, s); CQuestManager::Instance().AddScript("[COLOR r;{numberofcolorred}|g;{numberofcolorgreen}|b;{numberofcolorblue}]" + s.str() + "[/COLOR][ENTER]"); return 0; } and replace the {numeberofcolorred},{numeberofcolorblue} and {numeberofcolorgreen} for the number you want. I dont know if this is correct i dont know anything about c++.. but try it.. maybe it works
-
Thats because the buttons are out of the "InventoryWindow", change the "InventoryWindow" "width" to like 200 and decrease the "y" to like"37 - 565-30" and then try
-
1) I didnt understand what you whant to do.. if you want to change the look of the button you need to go to root>uiquest.py and search for the class BarButton(), and you need to change it. 2)[Hidden Content] 3 and 4)I think the best way to do it is in c++
-
Hi, i dont think you need to buy it. It already has been released..
-
Go to game.py and search this: self.isShowDebugInfo = TRUE Replace for: self.isShowDebugInfo = FALSE
-
Still dont work... Same error..
-
Maybe that character is buged, try to erase it and create another one.
-
I told in the post that wasnt that the error.. if i take that off gives the same error.
-
Hello, im trying to run a python script, but the client gives this error: 0902 13:07:15186 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0902 13:08:27973 :: Traceback (most recent call last): 0902 13:08:27973 :: File "game.py", line 1952, in BINARY_ServerCommand_Run 0902 13:08:27974 :: File "stringCommander.py", line 63, in Run 0902 13:08:27974 :: File "stringCommander.py", line 31, in __call__ 0902 13:08:27974 :: File "stringCommander.py", line 20, in __call__ 0902 13:08:27974 :: File "game.py", line 2254, in __PetIncubator 0902 13:08:27974 :: File "system.py", line 130, in __pack_import 0902 13:08:27974 :: File " 0902 13:08:27974 :: <string> 0902 13:08:27974 :: ", line 0902 13:08:27974 :: 55 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: chat.AppendChat(1, str(constInfo.PET_INCUBATOR[0]])) 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: 0902 13:08:27974 :: ^ 0902 13:08:27974 :: SyntaxError 0902 13:08:27974 :: : 0902 13:08:27974 :: invalid syntax 0902 13:08:27974 :: the : chat.AppendChat(1, str(constInfo.PET_INCUBATOR[0]])) was the last line i wrote, but after that i have some script that i copied, and i think the part of the script i copied works, but the one i wrote it gives this error... Is it the lenguage im using? the coding? Im using notepad++ Can somewone please help me? Kind Regards, Frozen