Jump to content

TMP4

Contributor
  • Posts

    1112
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Everything posted by TMP4

  1. Well if he can't do it with the provided code to track down where it goes wrong.. yeah i'm wasting I usually wasting but f..., i have a lot of time these days. When i will not have, i'm not gonna write a reply to such threads.
  2. It is only happening with special storage's items? Your syserr's item is one of them. But if it's not then i doubt it is causes by special storage. Also the duped id's item's pair is the same item or not? For example in your item table the item with id "50000306" is a "Kurt Postu+"? If it's the same, they're really just duplicating. (But they sell the duped items and it's disappear with a "flush" from the victim's inventory)
  3. I would really help you since i have nothing to do in quarantine but you did not attached your code so it is impossible. Idk if special storage and normal storage uses the same python, but if so, your problem will be in either binary or game source. The default code from uiinventory.py to binary and finally in game (linearly to the process): Do not replace yours with this, use it for compare. If i were you, i would track down the count with Chat.AppendChat(str(itemCount)) #example if your problem is created in python. (uiinventory.py) If not, then i would write the count from binary to the syserr.txt to check there next. (pythonnetworkstreammodule.cpp) #define sys_err TraceError #define sys_log //(n, format, ...) Tracenf(format, __VA_ARGS__) sys_err("Count: %d", num); //num is count if i'm not wrong If not, then go the serverside and do the same. (input_main.cpp) sys_err("Count in serverside %d", pinfo->count); With that tracking you can easily find out where it goes wrong. Let me know where the count is go wrong and provide your code.
  4. There was a hungarian server what used the 16x16 "4 Mondi" by Luscha. It run without any problem, but there wasen't too much player, i say it never went above 300. The possible negative sides: -People use 2 or 3 cores / channel to load balancing. It is not available with only one map. -The client should be load a 16*16 map instead of the 4*6 map1. Probably not a problem in 2020, we're not playing in old pentiums anymore -You probably want programming the realtime .msenv changes since it's only one map Even after that i say it can be "ok" to run one map.
  5. Sanchez's upload does not even contain an exe lol. Your got virus probably because of a pirated visual studio, or already infected machine. If you compile it in a legal vs, it will only produce 2 false positive by noname antivirus. It is because it connects to the internet and downloads files. Btw this patcher does not have any "extern" or "lib" so it is 100% open source, you can see every files, only .cs, resx, sln, vcproj, these are text files so you can see what's inside them.
  6. But he is using the basic source, not Marty's, that why he can't install the won system. (It's crystal clean in his pictures) What are you expecting for him? To contact Ymir? Edit: Ofc what MrQuin said can be a reason to not help him anymore, but that's an other and a valid reason.
  7. I still not understand you WeedHex. What's more, i think you're not understanding the situation. That won system is public, not mady by Marty afaik, just made for Marty's source style. (That's why it have g_bChinaIntoxicationCheck instead of LC_IsNewCIBN) That guy is cleary not using Marty's source since he does not have g_bChinaIntoxicationCheck. So what's the problem actually @WeedHex? Please tell because i really not understanding you.
  8. Okey but what WeedHex said because i helped that guy is just crazy.
  9. In where actually? I'm not using exactly that what Syrex show but it would be nice to check anyways.
  10. So it was a criticism for me because i helped him saying Marty replaced LC_IsNewCIBN with g_bChinaIntoxicationCheck so he should use LC_IsNewCIBN? Most of the tutorials nowdays made for Marty source by 3rd people too, and helping people who use original source with these little things is not even bad i think. Otherwise i don't understand what did you wanted to say ? Your english is controversal for me, sorry.
  11. Yes. (With empire_whisper: 1 in CONFIG files, 1 is the enabling the convert in whisper, 0 is the understanding the language without anything) I did test it on some random server (where we need language ring or skill to understand), it did not work anywhere, it gave empty line in every server. It should be a common problem with new files. I suppose it don't work even in Gayforge's servers but i don't want to download Steam just for it
  12. You can remove that g_bChinaIntoxicationCheck completly from your char.cpp. Chinese laws require such restriction to prevent addiction. Martysama replaced the locale_newcibn (the china server) check with that variable if you wonder why you dont have it. If you dont want to remove that china check then replace it with: if (LC_IsNewCIBN() && amount > 0)
  13. Ymir did not wrote such code, and since the "new pet system" what posted to TurkMMO uses the normal pet system's code as a base, it don't have such feature too. "i dont wanna use setqf in quest because this lagging the server so hard." You either not meaning setqf (but loop_timer) or you're totally wrong. Basicly you have to check 1 questflag at login. That is not do any lag at all. If you use a GF quest pack then you already checking ~50questflag at login so +1 is not making any difference. So if you don't mind using +1 questlag in addition to the other fifty then check sema's answer:
  14. I don't think anyone will give you a c++ code, it's not 1-2 line. Alternative solution: You can make some shops for the same npc and at quest you open a random one. You can make a timer for it, or eventflag, or even you can use the date time or what meets your needs. example: when npcid.click begin local x = math.random(1,3) if x == 1 then npc.open_shop(1) end if x == 2 then npc.open_shop(2) end if x == 2 then npc.open_shop(3) end end ------------------------------------------------------------------- Or grab gaya system and change point_gem to point_gold. You'll face some problem because it only support 1 slot items for example and the released one at turkmmo is quite bad made.
  15. M2 Download Center Download Here ( Internal ) So i collected every single GM logo which was used on an official server. I think it's all, if i forgot something please tell Download in tga format + their mse: [Hidden Content]
  16. kraizy.tgz 40k source So if the user does not have language ring (or wind shoe because that is a language ring too lol) and does not have M1 skills of the language, he should see a converted language to not understand the other empire's player. For me, it is only an empty line. I'm using locale_hungary (europe) so g_iUseLocale is TRUE. if (g_iUseLocale) { static char s_cChinaTable[][3] = {"ˇň","ŁŁ","Ł¤","ˇů","ˇđ" }; int n = number(0, 4); pbText[0] = s_cChinaTable[n][0]; pbText[1] = s_cChinaTable[n][1]; } Whole empire_text_convert.cpp: [Hidden Content] (I think totally untouched from kraizy.tgz) So basicly i should see these characters: {"ˇň","ŁŁ","Ł¤","ˇů","ˇđ" } But i see this: I usually keep old stuffs so i have an 2089M and 34K serverfile+client too. At 2089M converting works, at 34k it does not work like my 40k source. (empty line) Anyone have an idea?
  17. Those are images. Inventory page II not showing because it is under the III and IV inventory page's button image in your case. So you have to change the Page I and II image to the small one like III and IV, and edit I and II's x and y coordinates to place it in the right. (locale_xy.eix-epk inventorywindow.py) Some tutorial not mentioning such things cause it is straightforward they think.
  18. We do not even know what newpetsystem are u using. Probably you're using a turkish premade serverfile, am i right? Only people using that particular serverfile (or system of you don't use premade serverfile) can help you, what is very very low, especially here in m2dev. People here not really use turkish premade serverfiles. Give more info. Also keep in mind people here do not speak turkish so we don't even understand the syschat in your video. Need code or translation.
  19. Can you give an example? I have not heard about it yet to they would be much different. Anyway use that extern and makefile and build a novaline for yourself, test it out if it'll kick or not. If so, you can use mainline
  20. Use this, it is gold even to this day: You'll probably get kicked after login if you use novaline. In that case, use mainline for db,game. (You can use novaline for clientside, it's ok and mainline don't have clientside)
  21. So just to make it clear, i'm looking for a fix, not marty's code! Marty fixed almost every error in source, so it would be ridiculous to be not allowed to ask a basic error just because Marty fixed in his source. ----------------------- Solved, i got help in private. Ymir used wrong packet name in some places at db for myshop_pricelist. It is only fixable in one way so i'm not gonna share the fix, marty's fix is surely the same and i don't want to get in trouble... So if anyone want to fix it, check the packet names everywhere in myshop_pricelist and swap it to the correct one.
  22. Thanks, One of the most useful systems.
  23. Removing this from dungeon.cpp is definitely a bad idea! if (!pDungeon) { sys_err("M2_NEW CDungeon failed"); return NULL; } It is there to prevent nullptr what will cause core crash.
×
×
  • 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.