Jump to content

Karbust

Management
  • Posts

    1162
  • Joined

  • Days Won

    10
  • Feedback

    100%

Everything posted by Karbust

  1. Hello I'm having this bug and I don't know where the error might be... When I buy from any slot I receive the right item, the only problem is when I open the shop the itens don't show the right icon and the tooltip is also wrong... I thinks is a client side problem... On syserr.txt I get this kind of lines: 0408 20:25:27222 :: Cannot find item by 360000 0408 20:25:27222 :: Cannot find item by 360000 0408 20:25:27229 :: Cannot find item by 2250000 0408 20:25:27229 :: Cannot find item by 2250000 0408 20:25:27229 :: Cannot find item by 2250000 0408 20:25:27229 :: Cannot find item by 2250000 0408 20:25:27229 :: Cannot find item by 7500 Thanks
  2. I use this on my patcher to start the client with an argument: ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "metin2client.bin"; startInfo.Arguments = "--argument"; Process.Start(startInfo);
  3. Where? Since just after I implemented the system this error started... Before it was working... I already checked the shop.cpp file and I did everything ok...
  4. Hello I'm trying to implement on my files the offline shop, where I got, said it was from Koray... But I get this error when I start the server (lot's of lines): SYSERR: Feb 28 17:55:24.325550 :: SetShopItems: Shop: no item table by item vnum #808790061 SYSERR: Feb 28 17:55:24.325565 :: SetShopItems: Offline shop init fail! Null item count. And this on syslog (also, lot's of lines): Feb 28 17:55:24.324902 :: SHOP #0 (Shopkeeper 23250) SYSERR: Feb 28 17:55:24.324915 :: SetShopItems: Shop: no item table by item vnum #201326671 Feb 28 17:55:24.324922 :: SHOP #0 (Shopkeeper 23251) SYSERR: Feb 28 17:55:24.324951 :: SetShopItems: Shop: no item table by item vnum #201326671 Feb 28 17:55:24.324957 :: SHOP #0 (Shopkeeper 23252) SYSERR: Feb 28 17:55:24.324967 :: SetShopItems: Shop: no item table by item vnum #201326671 Feb 28 17:55:24.324976 :: SHOP #0 (Shopkeeper 23253) SYSERR: Feb 28 17:55:24.324990 :: SetShopItems: Shop: no item table by item vnum #201326671 Feb 28 17:55:24.325015 :: SHOP #0 (Shopkeeper 23254) SYSERR: Feb 28 17:55:24.325044 :: SetShopItems: Shop: no item table by item vnum #201326671 Feb 28 17:55:24.325051 :: SHOP #0 (Shopkeeper 6489539) SYSERR: Feb 28 17:55:24.325063 :: SetShopItems: Shop: no item table by item vnum #-1157627904 Feb 28 17:55:24.366363 :: SHOP #0 (Shopkeeper 0) SYSERR: Feb 28 17:55:24.366368 :: SetShopItems: Offline shop init fail! Null item count. I can't login in, but the Auth core is online... Can anyone help me please? Thanks Kind Regards, charparodar
  5. Hello I'm trying to use a sash system that I found on the internet (on the board it said it was LeNnT System) When I login in, the client crashes, the characters doesn't even appear... syserr.txt is clean, but errorlog.txt has this inside: Module Name: D:\Client 40250 - Copy\Metin2Release.exe Time Stamp: 0x58b19dd7 - (null) Exception Type: 0xc0000005 eax: 0x00000000 ebx: 0x0cceb934 ecx: 0x0cceb934 edx: 0x09fb7e98 esi: 0x00000000 edi: 0x0cceb934 ebp: 0x001ce1b8 esp: 0x001ce190 0x01399541 D:\Client 40250 - Copy\Metin2Release.exe 0x012703fb D:\Client 40250 - Copy\Metin2Release.exe 0x01298240 D:\Client 40250 - Copy\Metin2Release.exe 0x1d5e0dba D:\Client 40250 - Copy\python27.dll 0x1d631947 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d631aa1 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d631aa1 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d631aa1 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d631aa1 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d630792 D:\Client 40250 - Copy\python27.dll 0x1d5d1813 D:\Client 40250 - Copy\python27.dll 0x1d5a8ca6 D:\Client 40250 - Copy\python27.dll 0x1d5b8c66 D:\Client 40250 - Copy\python27.dll 0x1d5a8ca6 D:\Client 40250 - Copy\python27.dll 0x1d631594 D:\Client 40250 - Copy\python27.dll 0x1d5a8c50 D:\Client 40250 - Copy\python27.dll 0x013da947 D:\Client 40250 - Copy\Metin2Release.exe 0x013da515 D:\Client 40250 - Copy\Metin2Release.exe 0x0138c0b7 D:\Client 40250 - Copy\Metin2Release.exe 0x0128a8e0 D:\Client 40250 - Copy\Metin2Release.exe 0x0128d7ab D:\Client 40250 - Copy\Metin2Release.exe 0x1d631947 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d631aa1 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d630792 D:\Client 40250 - Copy\python27.dll 0x1d632b47 D:\Client 40250 - Copy\python27.dll 0x1d62e82a D:\Client 40250 - Copy\python27.dll 0x1d630792 D:\Client 40250 - Copy\python27.dll 0x1d631b04 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d631aa1 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d631aa1 D:\Client 40250 - Copy\python27.dll 0x1d6319a9 D:\Client 40250 - Copy\python27.dll 0x1d62f58e D:\Client 40250 - Copy\python27.dll 0x1d630792 D:\Client 40250 - Copy\python27.dll 0x1d632b47 D:\Client 40250 - Copy\python27.dll 0x1d62e82a D:\Client 40250 - Copy\python27.dll 0x1d630792 D:\Client 40250 - Copy\python27.dll 0x1d65f8be D:\Client 40250 - Copy\python27.dll 0x1d65f7e9 D:\Client 40250 - Copy\python27.dll 0x013db258 D:\Client 40250 - Copy\Metin2Release.exe 0x013db3b9 D:\Client 40250 - Copy\Metin2Release.exe 0x013db212 D:\Client 40250 - Copy\Metin2Release.exe 0x012ee8c7 D:\Client 40250 - Copy\Metin2Release.exe 0x012eeb1b D:\Client 40250 - Copy\Metin2Release.exe 0x012eeea9 D:\Client 40250 - Copy\Metin2Release.exe 0x013ec208 D:\Client 40250 - Copy\Metin2Release.exe 0x744662c4 C:\WINDOWS\System32\KERNEL32.DLL 0x77870fd9 C:\WINDOWS\SYSTEM32\ntdll.dll 0x77870fa4 C:\WINDOWS\SYSTEM32\ntdll.dll I believe this is a client side error, but anyone knows were it may be? Thanks Kind Regards, charparodar
  6. I think this isn't going to work very well... For example, we guys from Portugal, are spread around Europe, Portugal (of course) France, UK, Germany, Switzerland, Luxembourg, and Belgium, this are the main countries, if I have Portuguese, English, French, Germany translations on my client, it will get the languages of the IP address's, they maybe still prefer using their mother language, in this case Portuguese, is there a way to still use the system, but the user can choose which language to use? Thanks for sharing...
  7. Thanks, it's working! I've never used JOIN on classes, I didn't knew that could be used like that...
  8. Hello I'm doing a work for my programming class, but I'm having some troubles with mysql... Well, this is the whole function: public List<string>[] SelectUsers() { //string tabela = data; string query = "SELECT * FROM users"; //Create a list to store the result List<string>[] list = new List<string>[6]; list[0] = new List<string>(); list[1] = new List<string>(); list[2] = new List<string>(); list[3] = new List<string>(); list[4] = new List<string>(); list[5] = new List<string>(); //Open connection if (this.OpenConnection() == true) { //Create Command MySqlCommand cmd = new MySqlCommand(query, connection); //Create a data reader and Execute the command MySqlDataReader dataReader = cmd.ExecuteReader(); //Read the data and store them in the list while (dataReader.Read()) { list[0].Add(dataReader["id_user"] + ""); list[1].Add(dataReader["login"] + ""); list[2].Add(dataReader["password"] + ""); list[3].Add(dataReader["is_admin"] + ""); list[4].Add(dataReader["game"] + ""); list[5].Add(dataReader["rank_ingame"] + ""); } //close Data Reader dataReader.Close(); //close Connection this.CloseConnection(); //return list to be displayed return list; } else { return list; } } The users' table structure: The games table structure: The field "jogo" on user table is a foreign key of the table games... My ideia is to get the game name instead the ID of the game... The query I use on navicat to get the game name: SELECT * FROM jogos WHERE id_jogo = (SELECT jogo FROM users WHERE id_user=1); But, I would like to use it like this on the code: "SELECT * FROM jogos WHERE id_jogo = (SELECT jogo FROM users WHERE id_user=" + dataReader["id_user"] + ")" I already tried this (adding a second datareader): string query1 = "SELECT * FROM jogos WHERE id_jogo = (SELECT jogo FROM users WHERE id_user=1)"; MySqlCommand cmd1 = new MySqlCommand(query1, connection); MySqlDataReader dataReader1 = cmd1.ExecuteReader(); while (dataReader1.Read()) { list[4].Add(dataReader1["nome"] + ""); } dataReader1.Close(); But I keep getting this error: System.ArgumentOutOfRangeException was unhandled HResult=-2146233086 Message=Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ParamName=index Source=mscorlib StackTrace: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at Projeto_24___Jogos_com_DB.Utilizadores..ctor() in C:\Users\Ragnorak\Documents\Visual Studio 2013\Projects\Projeto 24 - Jogos com DB\Projeto 24 - Jogos com DB\Utilizadores.cs:line 16 at Projeto_24___Jogos_com_DB.Form2.button1_Click(Object sender, EventArgs e) in C:\Users\Ragnorak\Documents\Visual Studio 2013\Projects\Projeto 24 - Jogos com DB\Projeto 24 - Jogos com DB\Form2.cs:line 26 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at Projeto_24___Jogos_com_DB.Program.Main() in C:\Users\Ragnorak\Documents\Visual Studio 2013\Projects\Projeto 24 - Jogos com DB\Projeto 24 - Jogos com DB\Program.cs:line 19 at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: Anyone can help me please? This is my first work on c# using database connections, and I'm a little confuse... Thanks Kind Regards, charparodar
  9. Hello guys Someone can help me out? I need to build and run the game on freebsd x64, in order to use in another computer, anyone can help me doing this please? Thanks
  10. It just would change if you put on the auto patcher, every time you change something on locale and pack, the CRC32 must change, soo if you put on the auto patcher it'll download automatically...
  11. I used paygol on my server when it was open, but there's a problem, you can only remove your money when you reach 100€, but, for example, in Portugal you have to wait 3 months for the money being available... Also, the money is only available for 12 months... I recommend if you are expecting to have a lot of donations by sms/phone...
  12. My client had the textures working, but when I put together the metin2_patchs to lower down the number of files on the pack folder I got this textures, I went to my other client, before putting together the stuff, but the textures keep like this, like sh*t...
  13. Textureset I think is the same, on the other hand, the textures aren't... I already went to my other client and used the textureset and textures but no change... I hate this dark textures, don't give any life to the cities...
  14. I had been organizing my client, to reduce the number of files on the pack folder, after that I have my cities like that... I have the D:\ymir work deactivated, otherwise I could open the client...
  15. Hello My cities after some changes got with this textures: Someone could give me this ones: Thanks Kind Regards, charparodar
  16. Project -> Project Properties (last option) -> Application -> Icon and manifest -> Icon
  17. Thank you very much for this release!!! It'll help me a lot on my project!!!
×
×
  • 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.