-
Content Count
87 -
Joined
-
Last visited
-
Days Won
1
Posts posted by gainster81
-
-
12 hours ago, V3ct0r said:It is ok. Have you found the name of the function? Can you share the code with us?
Hey @V3ct0r! The code i am currently using is the following:
local x, y = GetSkillPos ( ATKER ) local map_name = GetChaMapName ( ATKER ) local x = math.floor (x/100) local y = math.floor (y/100) GoTo(ATKER, x,y, map_name)
It also works with GetChaPos but in that case you get teleported into the enemy player instead of the clicked area. A new issue that i am having is that the skill must pass through an enemy in order to work. This means that if i select an area and no enemies are inside the zone, the teleport wont work, as if there was a condition preventing from the ending function to happen if it doesn't hit something.
In the gif example below it works only because there is a shrub inside the area:
12 hours ago, V3ct0r said:Are you working with official client binaries or source codes? I think you shouldn't remove the camera relocation since the character is always located in the center of the screen (scene).
Only edited client binaries for now, but i have the src as well. By realocating i mean preventing the camera to "zoom out" like in the gif i just showed that the camera goes up again and it rotates back to its standard position. Is there any way of doing that and also deleting the "level 79" text that appears?
-
On 9/27/2021 at 9:28 AM, V3ct0r said:Hello @gainster81!
As @mkhzaleh mentioned, variables 'x' and 'y' are undefined. You can get these coordinates using GetChaPos() function, but I think it has no sense, your character will teleport to itself, i.e. on the same position. I suggest use skill like Voayger's 'Conch Ray' as a template. As I remember, there is a function that allow to get coordinates clicked on the terrain by the player.
Hi @V3ct0r! Sorry for reviving this thread again. I gave up before but now i am trying to set this up again. Do you remember which is the function that allows to get the coordinates from the clicked terrain?
Also, i tried again what @mkhzaleh said but added it in the conch ray script and seems to work (only when it hits a target).
Now that it worked, i am wondering if its possible to remove the camera realocation and message that pops out when "GoTo" activates:
-
BUMP, any news on this tool? Could anyone fix it to be able to import/export models without errors?
-
1 hour ago, mkhzaleh said:ignore this guy, he mostly use my fix "workaround with no idea"
the ids cause it :
96 dw 1 boss freeze stun
159 //flash stun
45 : which is State_Xy_Add all crus stun/champ etc
98) // death night116) // Black Dragon Terror
87) // Algae Entanglement
86) // Tornado
NOTE: you can fix this in client sure but its workaround as i said by manual deleting when effect overDo i need to add an exception for those in SkillState.h from server source? Or which line/file is it? Sorry, i am not really into C++
-
2 hours ago, mkhzaleh said:yes. long time ago , but its workaround for client, you can try fix it in server side due states not fully removed
Which states in the server side? do i need to delete them?
-
On 4/5/2020 at 4:06 AM, mkhzaleh said:o.o should be , used same src 6months ago with the shared exe and works fine
there is bugs but yea fixed most of them
so if you are looking to some hints you going look to these bugs
#1- Guild exp and states on disband function do not reset in group server , which is when create new guild will take old points of the disbanded guild
#2- Disband guild & recreate crash the client > related to first bug, and need a fix of client part.. guild section forms
#3- create guild crash client > rebuild refresh mindpower
#4-Movement bug states on stun/freeze if player moving
#5- some gui bugs above gmnotice in windows/full screen > adjust screen space box for gmnotice<
#6-hair npcs & exchanger npc the hover items crash the client >>missing reset the bool on false switch
#7-flood buttons/exp/guild color/ addexpguild . spamming sql while many players doing /killing monsters or quests > fix inside groupserver cooldown can fix it smoothly
#8- switch item flood crashes all people clients on the range
example
can be fixed with small cooldown >gameserver or client<
#9 register function inside client can be flooded with small bot to fill your database >> small captcha will fix it
#10 switch items with 1 slot delete the switched items
the fix do not allow the switch with 1 slot only make it 3 or 5
#11- extract gems dupe if had high level inside the item , with > 1 of level gem lv1
this some bugs can be a good hit to start lol but people prefer to spam/do not readHi @mkhzaleh. Were you able to find a fix for the movement bug (Bug #4)?
-
-
10 hours ago, mkhzaleh said:local x, y = GetChaPos(role) GoTo(role,x/100,y/100,GetChaMapName(role))
works fine
hmm it isn't working. Do you have the skillinfo line that you are using? Perhaps i need to edit that one.
-
5 hours ago, mkhzaleh said:in your skill x, y not defined
x/100 ?
you have to use
local x, y = GetChaPos(ATKER)
Added "local x, y = GetChaPos(ATKER)" but it still didn't work. Also tried removing the /100 lines but it also didn't work. Any other thing i may be missing?
-
Hey,
I was trying to make a new skill in which you can teleport on the clicked area within a short range. I used the Mytho teleportation skill (id 296) as a guide. I setted it up but the skill isn't working (the animation happens but my char isn't teleporting to the selected area. Am i missing something in the skilleffect function?
function Skill_tptp_End ( ATKER , DEFER , sklv ) local map_name = GetChaMapName (ATKER) local x = math.floor (x/100) local y = math.floor (y/100) GoTo(ATKER, x,y, map_name) end
-
9 hours ago, VItal13 said:@gainster81 please give me link for this app.
The apps are already in your client for sure, just check the iteminfo lines in which they are assigned. In case you mean the MC skins as an ingame apparel, i haven't done that.
-
Hi!, Great post!
I am having the following issue when trying to import obj models (to then export them as lgo):
(translated): "System.ArgumentOutOfRangeException: The index is out of the interval. The value must be non-negative or lower than the colection.
Parameter name: index
in System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
in System.Collections.Generic.List`1.get_Item(Int32 index)
in PKOModelViewer.ImportForm.ImportObjToLgo(String filename) en E:\Programming\Serverdev - Legacy\pko-viewver\PKO-file-viewer\PKOModelViewer\ImportForm.cs:line 384
in PKOModelViewer.ImportForm.button3_Click(Object sender, EventArgs e) en E:\Programming\Serverdev - Legacy\pko-viewver\PKO-file-viewer\PKOModelViewer\ImportForm.cs:line 78
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"Is there any way i can fix this?
Thank you!
-
You will also need to update the spawn coordinates in birth_conf (resource/script/birth), otherwise you will spawn close to the water once you enter the portal.
FC Dock coords: 303, 305
DS Dock coords: 310, 347- 1
-
2 hours ago, Tensei said:It is just an example line; so whatever glow has the green, and you choose to re-color to purple or white it will be replace green with that color.
But if i wanted to keep the purple, and also add another white glow without limiting me to use the green glow "spot", is there any way to make itemrefine link the item id to a new tga file?
Been playing with it a bit: -
Thanks for sharing!
How do the numbers in itemrefineeffect connect with the tga glow files?
-
On 4/3/2021 at 10:19 PM, Lucky said:Hi, any solution for blue screen?
nvm fixed.EDIT: Fixed it. i was missing the cameraconf1024 file.
Hey, how did you fix the blue screen? i am having the same issue after a while
- 1
-
Yes, copy a line from an existing apparel and change the icon and texture/model numbers (which are columns 3 to 8 if i'm not wrong). Also, make sure the ID of the new apparel is over 5000
-
On 4/11/2020 at 2:38 AM, JaR said:Whos know how to decompile tables on CO Client?
I can't decompile with Gemini and Deguix Decompiler
@JaR did you find a decompiler? I am having the same issue as there are some txt that arent being compiled by server exes and others that arent used by server as well.
-
7 hours ago, Spidpex said:
Not bad! Will you also make additional skins in the future of various apparels?Thanks, i haven't been making skins for a while. Might get back on it again and make other cool apparels in the future. I've made skins of other games too (Such as LoL or WoW), which you can see in my profile on that website.
-
1 hour ago, Greaux said:not bad, best impact for pkodev community
Can you provide obj/lgo models for PKO?Added screenshots of the sets to compare. For the templar i added a screenshot of the torso directly since it has a lot of details. Regarding the minecraft models, i don't know exactly how to export them to lgo. It would be cool tho.
-
Hey there, what's up?
Not sure if many people here play minecraft, but in case anyone is interested, a couple of years ago i made 2 minecraft skins of 2 of the best apparels in the game in my opinion; Lance Templar set and frozen heart set.
Here are the links in case you want to switch your minecraft skin:
Templar set: https://www.planetminecraft.com/skin/templar-set/
Frozen heart set: https://www.planetminecraft.com/skin/frozen-heart-set-from-tales-of-pirates-online/
- 1
- 2
-
No uses esa herramienta para crear cuentas. Usa esta:
-
Do you have the needed ports open (1978,1975,1971) on your router settings? If not, open them.
-
53 minutes ago, soilder12 said:hello anyone can provide a guide to make launcher for my server??? i been looking on forum but cannot find
and how to set drop rate on certain moobs for example dw1 moobs refining gem drop rate 1%, 2% etc? is that possible ??
would be realy great if someone can help or provide a guide.. thanks
Hi, I believe there is a game launcher someone posted in the client section.
Regarding the drop rate of specific items, you can edit them in CharacterInfo.txt (server file). There is a column that states which items will be dropped if the mob dies, and another one that states the % rate of that item to be dropped.
For example, if you want to make the following dw mob have 1% chance to drop ref gem. it's line should look like this (marked in yellow the edited parts):
670 Snow Doll Spirit Snow Doll 4 5 201 0 1 1 0 0 0 0 0 0 0 484,485 0 0,0,0 1 142 100 221 222 223 0 0 0 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 0,879 0,942 2,562 60 1,5,0 2,4,0 399 398 0 0 0,0,0 1 1 0 0 139,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 3821,3427,883,882,885,-1,-1,-1,-1,-1 153,666,125000,125000,10000,-1,-1,-1,-1,-1 0 0 0 4247,-1,-1,-1,-1,-1,-1,-1,-1,-1 1000,-1,-1,-1,-1,-1,-1,-1,-1,-1 10 1 1000 0 0 1 0 55 17200 0 10000 0 616 924 33 175 300 212 10 137 22 0 1200 200 1500 450 0 32 32 32 32 32 32 20 0 0 0 5402 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1,1,1
Here i've set the chance to 10000 which should be 1%.
- 1
Teleport skill
in Questions & Help
Posted · Report reply
It worked! i was changing the skill type column but it was the "process target" column that i had to set to 1. Thanks!