Jump to content

Syntaax

Seller
  • Posts

    22
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Syntaax

  1. So i bought an IS few years ago from ProfessorEnte. Now i tryed to implement it and got this problem with his quest... I dont want to recode the sql querys to an updated version. Does anyone know how i could fix this issue? Could it be that a table got init with "null" and thats cause the Problem? Line:58 os.execute('mysql '..pre..' -e'..string.format('%q',query)..' > '..fi) -- für MySQL55 Syserr questing.lua:58: attempt to index a nil value questing.lua part mysql_query = function(query) if not pre then local rt = io.open('CONFIG','r'):read('*all') pre,_= string.gsub(rt,'.+PLAYER_SQL:%s(%S+)%s(%S+)%s(%S+)%s(%S+).+','-h%1 -u%2 -p%3 -D%4') end math.randomseed(os.time()) local fi,t,out = 'mysql_data_'..math.random(10^9)+math.random(2^4,2^10),{},{} --os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi) -- für MySQL51 os.execute('mysql '..pre..' -e'..string.format('%q',query)..' > '..fi) -- für MySQL55 for av in io.open(fi,'r'):lines() do table.insert(t,split(av,'\t')) end; os.remove(fi); for i = 2, table.getn(t) do table.foreach(t[i],function(a,b) out[i-1] = out[i-1] or {} out[i-1][a] = tonumber(b) or b or 'NULL' out[t[1][a]] = out[t[1][a]] or {} out[t[1][a]][i-1] = tonumber(b) or b or 'NULL' end) end return out end
  2. So i got the problem that objects get removed while beeing still in view range. It seems like they get destroyed after the half of the object is outside of the window. I'll add a screenshot how it look like. I still havent found the function which handles this. [Hidden Content]
  3. Hello all, since I will find time to work on the MiniMe system again, it is now offered for sale. First: What is the MiniMe system? The MiniMe is built in such a way that he could act as a completely independent player. He is not just an NPC, like the Pets or the Buff Shamies. He has a completely own event system and can be seen as a PC from the code. For example, mobs can only attack him completely and he could fight with them. This shows that there is a lot of potential in this system than just a pet chasing you. One could e.g. build MiniMe duels. The advantage of a completely independent costume system is of course increased sales. These can also have bonuses, such as 10% more DMG against bosses, ... Features: - MiniMe is levelable - 4 different status points which can be increased every x levels - Every 30 levels you can develop it further (Metin2 Pet-System like) - Grows proportional to the level - Dances if he gets bored - Copies the look of your character - Own MiniMe costumes - Attacks together with you metin stones / monsters and bosses - Makes percentage damage that increases with each level - Follows you - Ascends to mount / horse together with you What does it look like? More shots/gif's to follow.... Updates? The whole thing will be developed piece by piece and here in the thread in a ToDo list is given what everything is is in planning. Price: 100 Euro without installation -> Updates included! Interest aroused? Then write me here or in Discord: Syntax#3903
  4. Hello, i added the Offlineshop by RevooT. Everything works fine just one thing isnt. If I opened a shop and added some items and try to buy them it gives me the message "Sold out" Any suggestions?
  5. If i try to start the client it says "No module named cpsm" any idea ?
  6. When im in a Group and teleport into another core the names in the group getting written small Picture Someone with an Idea ?? Files: FliegeFiles V2
  7. All works fine but if i got logged out and again logging in my opend lines are closed again. Is there a fix for it ?
  8. Hello, im trying to code my own website and already got the whole html and css part ready, now im struggeling with the PhP script. Can someone help me ? 3 things are not working: - Login - Registration - Ranking Anyone can help me ?
  9. exchange.cpp:311:21: error: no member named 'make_unique' in namespace 'std' s_grid[i] = std::make_unique<CGrid>(INVENTORY_WI... ~~~~~^ exchange.cpp:311:33: error: 'CGrid' does not refer to a value s_grid[i] = std::make_unique<CGrid>(INVENTORY_WI... ^ ./exchange.h:3:7: note: declared here class CGrid; ^ exchange.cpp:320:26: error: no member named 'make_unique' in namespace 'std' s_grid[i] = std::make_unique<CGrid>(INVENTORY_WIDTH,new_size); ~~~~~^ exchange.cpp:320:38: error: 'CGrid' does not refer to a value s_grid[i] = std::make_unique<CGrid>(INVENTORY_WIDTH,new_size); ^ ./exchange.h:3:7: note: declared here class CGrid; ^ Any fix ?
  10. exchange.cpp:311:21: error: no member named 'make_unique' in namespace 'std' s_grid[i] = std::make_unique<CGrid>(INVENTORY_WI... ~~~~~^ exchange.cpp:311:33: error: 'CGrid' does not refer to a value s_grid[i] = std::make_unique<CGrid>(INVENTORY_WI... ^ ./exchange.h:3:7: note: declared here class CGrid; ^ exchange.cpp:320:26: error: no member named 'make_unique' in namespace 'std' s_grid[i] = std::make_unique<CGrid>(INVENTORY_WIDTH,new_size); ~~~~~^ exchange.cpp:320:38: error: 'CGrid' does not refer to a value s_grid[i] = std::make_unique<CGrid>(INVENTORY_WIDTH,new_size); ^ ./exchange.h:3:7: note: declared here class CGrid; Any idea ?
  11. Bugfix: #if srcItemSlotPos == dstItemSlotPos: # return #if app.ENABLE_SPECIAL_STORAGE: # if srcItemSlotPos == dstItemSlotPos and not item.IsMetin(srcItemVID): # return #else: if srcItemSlotPos == dstItemSlotPos and not item.IsMetin(srcItemVID): and: def OverInItem(self, overSlotPos): overSlotPos = self.__InventoryLocalSlotPosToGlobalSlotPos(overSlotPos) self.wndItem.SetUsableItem(FALSE) if mouseModule.mouseController.isAttached(): attachedItemType = mouseModule.mouseController.GetAttachedType() if player.SLOT_TYPE_INVENTORY == attachedItemType: attachedSlotPos = mouseModule.mouseController.GetAttachedSlotNumber() attachedItemVNum = mouseModule.mouseController.GetAttachedItemIndex() if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos): self.wndItem.SetUsableItem(TRUE) self.ShowToolTip(overSlotPos) return '''if app.ENABLE_SPECIAL_STORAGE: if player.SLOT_TYPE_INVENTORY == attachedItemType or player.SLOT_TYPE_STONE_INVENTORY == attachedItemType: attachedSlotPos = mouseModule.mouseController.GetAttachedSlotNumber() attachedItemVNum = mouseModule.mouseController.GetAttachedItemIndex() if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos): self.wndItem.SetUsableItem(True) self.wndItem.SetUseMode(True) self.ShowToolTip(overSlotPos) return else: if player.SLOT_TYPE_INVENTORY == attachedItemType: attachedSlotPos = mouseModule.mouseController.GetAttachedSlotNumber() attachedItemVNum = mouseModule.mouseController.GetAttachedItemIndex() if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos): self.wndItem.SetUsableItem(True) self.ShowToolTip(overSlotPos) return ''' self.ShowToolTip(overSlotPos)
  12. After i add the client changes to my client i cant upgrade my items anymore with upgradescroll... also i cant switch my items or add a bonus. Some ideas ? Ill add the changes to this thread 02. Client.rar
  13. Because I didnt found anything helpful, here a small release how to change your skills jumping from 17 to M1 or what ever you want 1. open char_skill.cpp 2. search for "case SKILL_NORMAL:" 3. 810 case SKILL_NORMAL: 811 // 번섭은 스킬 업그레이드 17~20 사이 랜덤 마스터 수련 812 if (GetSkillLevel(pkSk->dwVnum) >= 17) 813 SetSkillLevel (pkSk->dwVnum, 20); 814 { 815 816 } 817 break; change to this. Maybe i could help some people If its already public im sorry ^^
  14. Hey, ich habe folgendes Problem. Auf meiner minimap (oben rechts) werden die Roten punkte der Monster nicht erstellt. Lediglich ist der name + die coordinaten sichtbar sobald man die minimap absucht. Wiederrum werden dennoch offlineshops und NPC´s auf dieser angezeigt. Jemand eine Idee ?
×
×
  • 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.