Jump to content

covfefe

Banned
  • Posts

    122
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by covfefe

  1. care to explain? the if condition seems rather redundant.
  2. Interestingly, I don't have this issue. Here is one thing though, if you pick up an item you already have in inventory, it won't have the new item effect. edit for clarification: I mean stacked Items already In your Inventory.
  3. Looks more like an item/mob proto size mismatch issue, did you change anything related to that recently?
  4. Alchemy shows different values than what is in BaseApplys, anyone else noticed this?
  5. N.B. if you first wanna make sure whether this problem exists for your or not, do this: in uiinventory.py inventorywindo class, go to _del_ function and add this below: import dbg dbg.Logbox("Deleted") then rewarp ingame. if you don't get this message then congrats you have this problem. My "fix" should make this dbg appear.
  6. I noticed a few days ago that the inventory class was not getting freed upon rewarp. Circular dependency was causing the garbage collector to fail. The fix was fairly simple, so I fixed it and decided to share it with you. So here it is:
  7. Thanks for the nice release, ive been thinking about this.
  8. Most are scammers, don't buy. You can find some good files on the web for free. DM me if you want to know more.
  9. Wow, we got a Subject Matter Expert here. Pure misinformation. Sources with compatible packets are: mainline (for server) + novaline (for client). Just use TMP4 sources, though.
  10. Thanks for your help, you will laugh, i figured it out on my own within 5 min after creating the post. But thank you brother!
  11. Hi, I wonder if anyone knows how to get the count of an inventory item in C++, like the C++ equivalent of LUA's pc.count_item() function. I've spent a lot of time looking around in the source before asking here, I couldn't figure it out. Would definitely appreciate any help. Thank you to the non haters and non bullies.
  12. There wouldn't be any problems more or less than what would be there with any other files.
  13. Please don't release it. Use it for your server. People here aren't very thankful.
  14. With port forwarding you won't have to use portmap anymore, that's the point of it. You should open the same ports you see in serverinfo.py
  15. This is the first release i get excited about since 2022. Thank you.
  16. Hello, I am trying to figure out why channelID returns KeyError : 0 Can someone please help me ? Relevant code from serverinfo.py CHANNEL_DICT = { 1:{"key":11,"name":CH1_NAME,"ip":SERVER_IP,"tcp_port":PORT_1,"udp_port":PORT_1,"state":STATE_NONE,}, 2:{"key":12,"name":CH2_NAME,"ip":SERVER_IP,"tcp_port":PORT_2,"udp_port":PORT_2,"state":STATE_NONE,}, 3:{"key":13,"name":CH3_NAME,"ip":SERVER_IP,"tcp_port":PORT_3,"udp_port":PORT_3,"state":STATE_NONE,}, 4:{"key":14,"name":CH4_NAME,"ip":SERVER_IP,"tcp_port":PORT_4,"udp_port":PORT_4,"state":STATE_NONE,}, } REGION_DICT2 = { 'name': SERVER_NAME, 'channel': CHANNEL_DICT } Relevant code from intrologin.py def __RequestChannelList(self): channelDict = (serverInfo.REGION_DICT2["channel"]) ServerStateChecker.Initialize(); for id, channelDataDict in channelDict.items(): key=channelDataDict["key"] ip=channelDataDict["ip"] udp_port=channelDataDict["udp_port"] ServerStateChecker.AddChannel(key, ip, udp_port) ServerStateChecker.Request() def __RefreshChannelList(self): bakChannelID = self.channelList.GetSelectedItem() self.channelList.ClearItem() channelDict = (serverInfo.REGION_DICT2["channel"]) for channelID, channelDataDict in channelDict.items(): channelName = channelDataDict["name"] channelState = channelDataDict["state"] self.channelList.InsertItem(channelID, " %s %s" % (channelName, channelState)) self.channelList.SelectItem(bakChannelID-1) def __OnLoadScript(self, fileName): ... channelID = self.__GetChannelID() channelDict = (serverInfo.REGION_DICT2["channel"]) state = channelDict[channelID]["state"] . . . def __GetChannelID(self): return self.channelList.GetSelectedItem()
  17. This isn't some trivial change for you to come and expect it to be handed to you on a silver platter. Have you even tried to do it yourself first? Even if you don't know shit in cpp, use google, that's how most of us learn, I think. Or pay someone to do it.
  18. Sorry, I should've made myself more clear, I meant the texture filtering that's in the source. This one -> D3DSAMP_MIPFILTER.
×
×
  • 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.