Jump to content
Angelix

Community Source Code Development

Recommended Posts

18 minutes ago, Daisuke said:

would anyone know how to use color notice?

ColourNotice(role,"0xe33d1b","congratulations~! you Upgraded Swing to Lv10!!")

 

  • Like 2

Share this post


Link to post
Share on other sites

@Angelix @KONG
Bug Title: GroupServer Crash
Bug Description: GroupServer can be overflowed somehow and get crashed
How to replicate: Don't know how to replicate but i can send a dump file.
Status (pending / close / open): OPEN
Author (whoever that fixes it): Not Fixed YET

Share this post


Link to post
Share on other sites

How to use discord chat to interact with Discord Bot? would it be using the node? You have to create an application, but where do I put the bot address on the client?

Share this post


Link to post
Share on other sites
On 8/25/2019 at 4:55 AM, Daisuke said:

How to use discord chat to interact with Discord Bot? would it be using the node? You have to create an application, but where do I put the bot address on the client?

I think you'd need an extra application to run the discord chat integration feature, which is not released.

Share this post


Link to post
Share on other sites
1 hour ago, Angelix said:

I think you'd need an extra application to run the discord chat integration feature, which is not released.

has some lines off in gameserver for discord.

Edited by 1g0rS1lv4

Being better than others is for those who are weak; what matters is to be true to yourself.         

 

Share this post


Link to post
Share on other sites
On 8/14/2019 at 6:29 AM, Zett said:

Bug Title: Random Disconnects
Bug Description: When many few players online it randomly disconnects.. any of them with the reason 10054 which says that "Host forcibly closed your connection"
How to replicate:
The only way to replicate is to login and wait for the game to disconnect you.. so you can see the reason.
Status (pending / close / open): OPEN (Not Fixed)
Author (whoever that fixes it):

Does anyone know how fixed?

 

Share this post


Link to post
Share on other sites
Quote

 

On 8/15/2019 at 8:11 PM, mkhzaleh said:


_igs					= {}												-- 
_igs.SavePath			= GetResPath('../Log/Igs.log')		--

_igs.Initial			= function(File)
	Table				= io.open(File, 'r')
	if Table ~= nil then
		io.close(Table)
	else
		table.save({}, File, 'w')
	end
end
_igs.Initial(_igs.SavePath)	

add this to IGS.lua

edit 
function IGSLog(msg)
    local file = "Log/Igs.log"


or just create new folder and rename it to GSlog  and create new file inside it "Igs.log"

 

I can't figure out where to add that code. If I add it at the end of the file,

 image.png.ff47f5666cdf495474b697e57cbc5900.png

 

I get this error in gameserver

 image.png.4726b7a555178288273bdee4f045afad.png

 

Can someone be a bit more specific?

 

Nvm, fixed it.

Edited by Myrddin

Share this post


Link to post
Share on other sites
On 8/15/2019 at 12:11 PM, mkhzaleh said:

_igs					= {}												-- 
_igs.SavePath			= GetResPath('../Log/Igs.log')		--

_igs.Initial			= function(File)
	Table				= io.open(File, 'r')
	if Table ~= nil then
		io.close(Table)
	else
		table.save({}, File, 'w')
	end
end
_igs.Initial(_igs.SavePath)	

add this to IGS.lua

edit 
function IGSLog(msg)
    local file = "Log/Igs.log"


or just create new folder and rename it to GSlog  and create new file inside it "Igs.log"

I have an Igs.lua in my plugin folder, but loading when opening the game and clicking on the item mall cart gives me an "Incorrect 2nd password" error. Could you tell me how can I open this file and activate the item mall in the game? @mkhzaleh

Share this post


Link to post
Share on other sites

@johan

Open GameServer.cfg

search for :

igs_instant         = 0

Replace with:

igs_instant         = 1

should solve your problem

  • Like 2

Being better than others is for those who are weak; what matters is to be true to yourself.         

 

Share this post


Link to post
Share on other sites
5 minutes ago, 1g0rS1lv4 said:

@johan

Abra GameServer.cfg

buscar :


 

Reemplazar con:


 

debería resolver tu problema

Thank you. One last question with this option where is it stored or how can I edit the points and credits of a player?

Share this post


Link to post
Share on other sites

the points are stored in the database: GameDB-> Account-> IMP

image.png.fad73d41a07ab8995c1f7c905da3a507.png

you can add points manually in SQL or by the GM command

Amount  = Number of Points

Character ID = you can get the character ID using the following command & qcha NickName

&Addimp Amount , Character ID

  • Like 2

Being better than others is for those who are weak; what matters is to be true to yourself.         

 

Share this post


Link to post
Share on other sites
6 minutes ago, 1g0rS1lv4 said:

the points are stored in the database: GameDB-> Account-> IMP

image.png.fad73d41a07ab8995c1f7c905da3a507.png

you can add points manually in SQL or by the GM command

Amount  = Number of Points

Character ID = you can get the character ID using the following command & qcha NickName

&Addimp Amount , Character ID

I am very grateful for your help

Share this post


Link to post
Share on other sites
On 8/17/2019 at 5:11 AM, xiaoyuyu321 said:

Bug Title: ship cannot be upgraded

Status: Open

image.png.c3b82dd4583853cd622e5a0a6f240983.pngimage.png.f3e9efebd0aa1d5b077ccbfd9009425d.png

When you click upgrade, NPC don't have any prompts!

 

This solves the problem, try to add your NPC Builder to lua/plugin/npcexploit.lua in SailNpc

Share this post


Link to post
Share on other sites
On 10/26/2019 at 10:37 AM, mkhzaleh said:

server/sdk/libs errors 
 

Can you please elaborate?

 

Are you talking about recompiling the "Server\source\Common\Server\sdk\Lib\LIBDBC.lib"

 

like: "Server\source\Common>call devenv Server/sdk/Proj/LIBDBC.sln /build release"

 

Share this post


Link to post
Share on other sites

Found out that there is something wrong with WPE.

The wpe itself has kind of exploit can be used of byte using, trying to send packet with 6 bytes or lower GateServer will overflow and crash.

Someone told me it needs to validate packet sizes (which can be done in multiple places).

 

Anyone managed to fix this issue, could help? (CO Source).

Share this post


Link to post
Share on other sites

Hey everyone,

 

Does anyone have a fixed/working CO src client + files? Kinda intreseted in those files but I don't really know if it worth it since I see many issues/bugs around. Kinda risky to use...

Hoping maybe someone would do a proper installation guide in the guide section would be much appreciated.

  • Like 1

Share this post


Link to post
Share on other sites
On 1/16/2022 at 2:26 PM, Rinor said:

Found out that there is something wrong with WPE.

The wpe itself has kind of exploit can be used of byte using, trying to send packet with 6 bytes or lower GateServer will overflow and crash.

Someone told me it needs to validate packet sizes (which can be done in multiple places).

 

Anyone managed to fix this issue, could help? (CO Source).



IIRC, inside Receiver.cpp you can add this check:
- Check if packet header containing size is atleast 6 or 8 bytes long (0 for offset, 2 for packet_len, 4 for SESS, 2 for CMD id and maybe 2 more for packet counter from CO)

 

 

 

if(m_rpk.GetPktLen() >_len_inc && m_datasock->m_isProcess && m_rpk.GetPktLen() > 8)


You can Disconnect() if it isn't.

Edited by Mdrst
  • Thanks 1

"Beware of bugs in the above code; I have only proved it correct, not tried it."

- Donald E. Knuth

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...