|
You last visited: Today at 15:52
Advertisement
Why all conquer online programmers couldn`t fix this spell when they attempt to fix?
Discussion on Why all conquer online programmers couldn`t fix this spell when they attempt to fix? within the Conquer Online 2 forum part of the MMORPGs category.
05/29/2023, 00:57
|
#1
|
elite*gold: 0
Join Date: Jan 2023
Posts: 7
Received Thanks: 1
|
the problem is the algorithms are not distributed to the screen in 360 degree properly, if you cast a skill that has a length it will be casted in a short length from certain sides like 105 to 150 degree, 75 to 35 degree, 330 to 300 degree and 245 to 210 degree
and very long from the rest sides
but if you tried to shorten the rest, the above degree will be more shorter than before and vice versa..
edit:
Solved! The right approach to fix this bug is depending on constant coords like these
|
|
|
05/30/2023, 17:48
|
#2
|
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
|
You are not doing a good search because I have all those skills working and my source is public.
I just cannot share other forums ^^
|
|
|
05/31/2023, 11:27
|
#3
|
elite*gold: 0
Join Date: Feb 2015
Posts: 17
Received Thanks: 4
|
contact me on discord
Solly#3505
and i will explain to you how can you fix this all
|
|
|
05/31/2023, 18:14
|
#4
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Quote:
Originally Posted by NHisokA
contact me on discord
Solly#3505
and i will explain to you how can you fix this all
|
Don't do this. If you can explain something that helps answer this question, then post it publicly so people can benefit from it and we don't get more of the same question asked.
Quote:
Originally Posted by AbdallahEssam273
Please someone Mentions @ , i need his reply
|
I do server architecture. I've never heard of these skills in Conquer Online.
|
|
|
05/31/2023, 20:57
|
#5
|
elite*gold: 0
Join Date: Jan 2023
Posts: 7
Received Thanks: 1
|
I do server architecture. I've never heard of these skills in Conquer Online.[/QUOTE]
sir, can you let me contact you? btw i have solved my algorithms issue
|
|
|
06/01/2023, 00:07
|
#6
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Quote:
Originally Posted by AbdallahEssam273
sir, can you let me contact you? btw i have solved my algorithms issue
|
I'm personally not available for private requests, but I encourage you to post an answer here so that others with the same question can find an answer. And please don't delete your question. This is a forum - discussion is encouraged.
|
|
|
06/02/2023, 04:27
|
#7
|
elite*gold: 0
Join Date: Jan 2023
Posts: 7
Received Thanks: 1
|
Quote:
Originally Posted by Spirited
I'm personally not available for private requests, but I encourage you to post an answer here so that others with the same question can find an answer. And please don't delete your question. This is a forum - discussion is encouraged.
|
i`m actually trying to create an indistinguishable conquer online version 6200 before perfection and i was wondering if you could help me out fixing some bugs in the transfer/cross server and cross ctf
poker,team,skill pk,roulette,spin to win and lottery all systems are working fine and even the algorithms have been done recently. no body helped me actually fixing it in here however, i spent 3 days working on it xD
here are some pictures
my only reference because it is cheap is playconquer and it is closing on 6/6
i`m trying to find out the Attack calculations and that going to be in another thread, it won`t be deleted so people would be beneficiary of it
|
|
|
06/02/2023, 09:01
|
#8
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Quote:
Originally Posted by AbdallahEssam273
i`m actually trying to create an indistinguishable conquer online version 6200 before perfection and i was wondering if you could help me out fixing some bugs in the transfer/cross server and cross ctf
poker,team,skill pk,roulette,spin to win and lottery all systems are working fine and even the algorithms have been done recently. no body helped me actually fixing it in here however, i spent 3 days working on it xD
here are some pictures
my only reference because it is cheap is playconquer and it is closing on 6/6
i`m trying to find out the Attack calculations and that going to be in another thread, it won`t be deleted so people would be beneficiary of it
|
Sorry, but as I stated before... I'm not available for private requests. It has nothing to do with convincing me; my job forbids it unless under special circumstances. You can read more about that here: . But also, I don't have free time to do that sort of thing for any random person who asks...
|
|
|
06/02/2023, 17:03
|
#9
|
elite*gold: 0
Join Date: Jan 2023
Posts: 7
Received Thanks: 1
|
Quote:
Originally Posted by Spirited
Sorry, but as I stated before... I'm not available for private requests. It has nothing to do with convincing me; my job forbids it unless under special circumstances. You can read more about that here: . But also, I don't have free time to do that sort of thing for any random person who asks...
|
i got your point sir, i appreciate your reply help 3> please take a look at my next thread
Quote:
Originally Posted by Spirited
Sorry, but as I stated before... I'm not available for private requests. It has nothing to do with convincing me; my job forbids it unless under special circumstances. You can read more about that here: . But also, I don't have free time to do that sort of thing for any random person who asks...
|
thread has been edited in order to show the problem and the solution sir.
|
|
|
06/02/2023, 19:19
|
#10
|
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
|
This one is for line skills with Width, suitable for BladeTempest and other similuar skills (do not use for line skills, DDALine is slower but does give better results to Conquer somehow)
Code:
using System.Drawing;
using static System.Math;
public static List<Point> CalculateThick(int x0, int y0, int x1, int y1, double wd)
{
int dx = Abs(x1 - x0), sx = x0 < x1 ? 1 : -1;
int dy = Abs(y1 - y0), sy = y0 < y1 ? 1 : -1;
int err = dx - dy, e2, x2, y2; /* error value e_xy */
double ed = dx + dy == 0 ? 1 : Sqrt((float)dx * dx + (float)dy * dy);
List<Point> points = new();
for (wd = (wd + 1) / 2; ;)
{ /* pixel loop */
points.Add(new Point(x0, y0));
e2 = err; x2 = x0;
if (2 * e2 >= -dx)
{ /* x step */
for (e2 += dy, y2 = y0; e2 < ed * wd && (y1 != y2 || dx > dy); e2 += dx)
{
points.Add(new Point(x0, y2 += sy));
}
if (x0 == x1)
{
break;
}
e2 = err; err -= dy; x0 += sx;
}
if (2 * e2 <= dy)
{ /* y step */
for (e2 = dx - e2; e2 < ed * wd && (x1 != x2 || dx < dy); e2 += dy)
{
points.Add(new Point(x2 += sx, y0));
}
if (y0 == y1)
{
break;
}
err += dx; y0 += sy;
}
}
return points;
}
This one is for fan skills, use the correct "width" value and it will fit for any fan skill
Code:
public static int GetDistance(int x1, int y1, int x2, int y2)
{
return (int)Math.Sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
}
public static double GetRadian(int sourceX, int sourceY, int targetX, int targetY)
{
if (!(sourceX != targetX || sourceY != targetY))
{
return 0f;
}
int deltaX = targetX - sourceX;
int deltaY = targetY - sourceY;
double distance = Math.Sqrt(deltaX * deltaX + deltaY * deltaY);
if (!(deltaX <= distance && distance > 0))
{
return 0f;
}
double radian = Math.Asin(deltaX / distance);
return deltaY > 0 ? Math.PI / 2 - radian : Math.PI + radian + Math.PI / 2;
}
public static bool IsInFan(Point center, Point source, Point target, int width, int range)
{
if (width <= 0 || width > 360)
{
return false;
}
if (center.X == source.X && center.Y == source.Y)
{
return false;
}
if (target.X == source.X && target.Y == source.Y)
{
return false;
}
if (GetDistance((ushort)center.X, (ushort)center.Y, (ushort)target.X, (ushort)target.Y) > range)
{
return false;
}
const double pi = 3.1415926535d;
double fRadianDelta = pi * width / 180d;
double fCenterLine = GetRadian(center.X, center.Y, source.X, source.Y);
double fTargetLine = GetRadian(center.X, center.Y, target.X, target.Y);
double fDelta = Math.Abs(fCenterLine - fTargetLine);
if (fDelta <= fRadianDelta || fDelta >= 2 * pi - fRadianDelta)
{
return true;
}
return false;
}
|
|
|
06/06/2023, 05:44
|
#11
|
elite*gold: 0
Join Date: Feb 2014
Posts: 151
Received Thanks: 80
|
Quote:
Originally Posted by Spirited
Sorry, but as I stated before... I'm not available for private requests. It has nothing to do with convincing me; my job forbids it unless under special circumstances. You can read more about that here: . But also, I don't have free time to do that sort of thing for any random person who asks...
|
lol if you can't post here to help others why are you posting at all? I'm not available because of my job... but if you want to request work privately here's my link... but also I won't do that either? nobody cares that much
|
|
|
06/06/2023, 08:34
|
#12
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Quote:
Originally Posted by Asphy×ia
lol if you can't post here to help others why are you posting at all? I'm not available because of my job... but if you want to request work privately here's my link... but also I won't do that either? nobody cares that much
|
Hm? I think you misunderstand... I can post here to help people. There's nothing stopping me from doing that. What I'm not allowed to do is work with others on source code privately. That's against my work contract, which is very common in the game industry. If you go to that page I linked, you'll see it's not a request form - it's a page explaining why I can't accept private work. Posting to a forum I can and will continue doing.
|
|
|
06/23/2023, 05:17
|
#13
|
elite*gold: 0
Join Date: Feb 2014
Posts: 151
Received Thanks: 80
|
Quote:
Originally Posted by Spirited
Hm? I think you misunderstand... I can post here to help people. There's nothing stopping me from doing that. What I'm not allowed to do is work with others on source code privately. That's against my work contract, which is very common in the game industry. If you go to that page I linked, you'll see it's not a request form - it's a page explaining why I can't accept private work. Posting to a forum I can and will continue doing.
|
got a job at grindr today so i can't help with private codes anymore
|
|
|
06/23/2023, 23:20
|
#14
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Quote:
Originally Posted by Asphy×ia
got a job at grindr today so i can't help with private codes anymore
|
.....Ok...? I can't tell if you're trying to make a joke or... are you mad at me for something? I'm confused. I really don't know how to make this any clearer. I'm very literally not allowed to work on other games unless I have written permission from my work. I professionally work on online games. If I don't have permission from my work, then it's conflict of interest. Are you actually mad at me? What's going on here?
|
|
|
06/24/2023, 05:37
|
#15
|
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
|
Quote:
Originally Posted by Spirited
.....Ok...? I can't tell if you're trying to make a joke or... are you mad at me for something? I'm confused. I really don't know how to make this any clearer. I'm very literally not allowed to work on other games unless I have written permission from my work. I professionally work on online games. If I don't have permission from my work, then it's conflict of interest. Are you actually mad at me? What's going on here?
|
I also understood it like some kind of homophobic joke. Luckily I still can make private servers xD but I am not allowed to work with Big Data while I'm at the company I am right now because of the product I'm working with.
Maybe he never had a contract
|
|
|
All times are GMT +2. The time now is 15:52.
|
|