Jump to content

Jasc

Members
  • Posts

    270
  • Joined

  • Last visited

Everything posted by Jasc

  1. Updated Problem. The Server freezes for a good 30-60 Seconds. The SSH is all accessible and seems fine. I have messaged the host numerous times inquiring if it was a high load on their node that was stalling the server, they said it seemed fine and everything was working accordingly. While the server was frozen, I was still able to access SSH without any kind of noticeable lag issues or problems. Therefore, meaning the host is not responsible for this problem. I had the exact same problem on a smaller VPS, which I then upgraded to a dedicated server. This problem still persists, meaning its not a memory issue on the host as well. So what are the current problems? 1. Server randomly freezes 30-60 Seconds 2. After server unfreezes, players who are Already logged in, can continue playing, however, someone attempting to connect to the, will get a "Failed to connect" error message for about 3-5 minutes until the server magically repairs itself and allows the player to connect. 3. This happens about 3-5 times a day, and the coredump/stacks say nothing. All the Login/Map/Char services that are being pinged from website to server ALL say ONLINE, but players still get a failed to connect to server. I have a theory it has something to do with the unstable connection between flux cp mysql connection from my shared hosting via my server on the dedicated host. Somehow this connect is being disrupted and stopping services temporarily. I am hoping some of you rAthena experts can shed some light on this issue. Thank you
  2. Im not sure how I error, it just happens randomly. Mostly in PVP/WoE. Where you see alot of players and skills get casted a lot. @Judas, I ran a seach in my rdata/data and my own server grf. I did find that sprite. I guess I will replace my idnumres table with something else to see if it prevents any errors. Thank you for some light on the situation, cause I absolutely had no idea where the error came from. It happens occasionally and randomly and I am unable to replicate the problem myself and error myself.
  3. I am not sure how to read this error code, but I get frequent errors around pvp rooms, probably from a skill/sprite. Can anyone read this and narrow down what the problem could be? Thanks Module Name: E:\Soul Society RO test\test\SocietyRO.exe Time Stamp: 0x4c46520f - Tue Jul 20 19:49:03 2010 Exception Type: 0xc0000005 0x00623a2e SocietyRO.exe 0x00618b0a SocietyRO.exe 0x00534ce9 SocietyRO.exe 0x005a1b97 SocietyRO.exe 0x005a18d6 SocietyRO.exe 0x007008d3 SocietyRO.exe 0x00714e0d SocietyRO.exe 0x769d339a kernel32.dll 0x77459ed2 ntdll.dll 0x77459ea5 ntdll.dll eax: 0xfffffff8 ebx: 0x1c689850 ecx: 0x00000000 edx: 0xffffff79 esi: 0x00000004 edi: 0x1d737890 ebp: 0x0018fb30 esp: 0x0018f434 stack 0018f434 - 0018f834 0018F434 : A8 2C 84 1D 50 98 68 1C A8 2C 84 1D 73 70 72 69 0018F444 : 74 65 5C BE C7 BC BC BB E7 B8 AE 5C B3 B2 5C B3 0018F454 : B2 5F BF E4 C1 A4 C0 C7 B1 CD 2E 73 70 72 00 20 0018F464 : 00 00 9B 00 00 00 00 00 00 40 64 28 60 F5 18 00 0018F474 : 03 00 00 00 B4 F4 18 00 10 6D 70 76 20 00 00 00 0018F484 : 00 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 0018F494 : 13 AC 70 76 10 F5 18 00 00 00 00 00 9E AD 70 76 0018F4A4 : 23 AD 70 76 00 00 00 00 00 00 00 00 00 00 00 00 0018F4B4 : 8C F7 18 00 00 00 00 00 28 00 00 00 00 00 00 00 0018F4C4 : 00 00 00 00 F8 F4 18 00 38 D2 63 1C 20 D2 63 1C 0018F4D4 : 80 AD 70 76 00 00 00 00 00 00 00 00 00 00 00 00 0018F4E4 : 38 D2 63 1C 28 00 00 00 00 00 00 00 8C F7 18 00 0018F4F4 : 00 00 00 00 00 00 F8 0C ED 11 05 0A 8C F7 18 00 0018F504 : 00 00 00 00 80 8A B4 19 33 22 E7 62 00 00 00 00 0018F514 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0018F524 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Launch Info 0000 0206 0000 0000 0199 0206 0000 0199 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Job : |00Assassin Cross
  4. before you even do that, i would make sure to know exactly what you are running before doing anything. Before you even add customs, be 100% sure you know what you are running. Right now it seems like you don't know if you run xray or renewal. Also, your diffed client to connect to the server, is it a renewal client as well or xray? Should figure that out before worrying about how to add customs.
  5. renewal uses lua files and xray uses visionarytab or something, im not 100%. If you run renewal the lua files determine its view id that you use for item db
  6. I've been having frequent map server crashes, without anyway to pinpoint whats causing the error. I did some research and found that there is something called GDB stack dump using core files. I am running a Linux VPS currently. I followed some earlier guides but they didn't explain clear enough on how I could generate the core file. 1. yum install gdb to install the container with gdb software 2. I had a file named bt in the root folder 3. Heres where I was stuck, I read in the guide that you have a file named the same as your executable but use extension core. So therefore, map-server_sql I made a copy of it and i renamed it to map-server_sql.core 4. When the map server did crash, I attempted to retrieve some info with it. I typed gdb map-server_sql map-server_sql.core then bt full however it told me the map-server_sql.core was not valid core file. 100% honest, I wasn't sure where or how to obtain a .core file and Im not sure if I am doing the above steps right. I basically made a copy of map-server_sql in notepad, deleted everything in it, and renamed it using .core extension because I thought thats where it would save the crash. If anyone can shed any light on where I made my mistake and help me out, that would be great! Thank you!
  7. I understand it now, just took me a few minutes to see it properly. Thank you so much for pointing me in right direction.
  8. Ty for the quick reply Plank, that was extremely helpful. So if I did this for example: function script slotreel { set @number,rand(74); if(@number == 0) return 7; else if(@number >= 1 && 4 > @number) return 6; else if(@number >= 4 && 10 > @number) return 5; else if(@number >= 10 && 19 > @number) return 4; else if(@number >= 19 && 31 > @number) return 3; else if(@number >= 31 && 46 > @number) return 2; else if(@number >= 46 && 74 > @number) return 1; } I altered it from 64 to 74 and changed the if(@number) from 46-74, which means I added 10 numbers to decrease chance of it hitting 0 (jackpot). So any numbers from now between 46-74 will return go to return1; Is this what you meant by editing it?
  9. Picked up a nice casino pack from Zig. == Script Name ========================= // ---- Slot machine for CASINO pack // == Author ============================== // ---- Zigbigidorlu (( [GM] Dionysus )) // == Designed For ======================== // ---- FaithRO (( http://faithro.net )) // == Version ============================= // ---- 8.05 rv2.05 // == Release ============================= // ---- 5.5.8 // == Description ========================= // ---- Simple slot machine system with // Advanced odds and payout system. Uses // a global $jackpot variable for jackpot // payout based on zeny put into the pot // after a number of uses. // // == Odds and payout chart =============== // *---------------------------------------------* // | R | ODDS | TL | TRIP | ODDTRIPL | ODD_DB | // |---------------------------------------------| // | 7 | 1:64 | 1 | JKPT | 1:262144 | 1:4096 | // | 6 | 3:64 | 4 | 256x | 1:87381 | 1:1365 | // | 5 | 6:64 | 10 | 128x | 1:43690 | 1:682 | // | 4 | 9:64 | 19 | 64x | 1:29127 | 1:455 | // | 3 | 12:64 | 31 | 32x | 1:21845 | 1:341 | // | 2 | 15:64 | 46 | 16x | 1:17476 | 1:273 | // | 1 | 18:64 | 64 | 8x | 1:14563 | 1:227 | // *---------------------------------------------* function script slotreel { set @number,rand(64); if(@number == 0) return 7; else if(@number >= 1 && 4 > @number) return 6; else if(@number >= 4 && 10 > @number) return 5; else if(@number >= 10 && 19 > @number) return 4; else if(@number >= 19 && 31 > @number) return 3; else if(@number >= 31 && 46 > @number) return 2; else if(@number >= 46 && 64 > @number) return 1; } function script slotcheckwin { set @val1,getarg(0); set @val2,getarg(1); set @val3,getarg(2); if(@val1 == @val2 && @val2 == @val3) { switch(@val1) { case 1: set @mult,8; break; case 2: set @mult,16; break; case 3: set @mult,32; break; case 4: set @mult,64; break; case 5: set @mult,128; break; case 6: set @mult,256; break; case 7: goto JACKPOT; break; } set @winnings,(@bet*@mult); set chips,(chips+@winnings); mes " "; mes "Winner! You've won ^FF0000"+@winnings+" ^000000chips!"; return; } else if(@val1 == @val2 || @val1 == @val3 || @val2 == @val3) { set @winnings,@bet; set chips,(chips+@winnings); mes " "; mes "Winner! You've won your bet back!"; return; } else return; JACKPOT: next; mes "[slot Machine]"; mes " "; mes "^FF0000Congratulations! You've hit the Jackpot!^000000"; mes "You've won "+$jackpot+" chips!"; announce "FreestyleRO Casino Manager: Congratulations to "+strcharinfo(0)+",",0; sleep(3000); announce "FreestyleRO Casino Manager: Who just won the casino Jackpot of "+$jackpot+" chips!",0; set chips,(chips+$jackpot); set $jackpot,0; return; } - script slotmachine -1,{ set @bet,1; START: mes "[slot Machine]"; mes "Welcome to Comodo Slots!"; menu "Play",SLOT_SPIN,"Change bet ("+@bet+" chips)",SLOT_CHIPS,"Leave",SLOT_LEAVE; SLOT_SPIN: next; if(chips > 0) { if(@bet <= chips) { set chips,(chips-@bet); set $jackpot,($jackpot+@bet); set @reelA,callfunc("slotreel"); set @reelB,callfunc("slotreel"); set @reelC,callfunc("slotreel"); mes "[slot Machine]"; mes " "; mes "[ "+@reelA+" ] | [ "+@reelB+" ] | [ "+@reelC+" ]"; callfunc "slotcheckwin",@reelA,@reelB,@reelC; menu "Spin Again ("+chips+" chips left)",SLOT_SPIN,"Change bet ("+@bet+" chips)",SLOT_CHIPS,"Leave",SLOT_LEAVE; } else { mes "[slot Machine]"; mes "You do not have enough chips to place that bet!"; menu "Change bet ("+@bet+" chips)",SLOT_CHIPS,"Leave",SLOT_LEAVE; } } else { goto SLOT_NOCHIPS; } SLOT_CHIPS: next; if(chips > 0) { mes "[slot Machine]"; mes "You have currently ^FF0000"+chips+" ^000000chips."; mes "How many would you like to bet?"; input @newbet; next; if(@newbet > chips) { mes "[slot Machine]"; mes "You do not have enough chips to place that bet!"; goto SLOT_CHIPS; } else if(@newbet < 1) { mes "[slot Machine]"; mes "Invalid bet! Please input a valid bet!"; goto SLOT_CHIPS; } else { mes "[slot Machine]"; mes "Success! Your bet has been set to: ^FF0000"+@newbet+"^000000 chips."; set @bet,@newbet; } menu "Play",SLOT_SPIN,"Change bet ("+@bet+" chips)",SLOT_CHIPS,"Leave",SLOT_LEAVE; } else { goto SLOT_NOCHIPS; } SLOT_NOCHIPS: mes "[slot Machine]"; mes "You do not have any chips! Please visit the Chips exchanger for more!"; close; SLOT_LEAVE: close; } //Row 1 cmd_in02,168,107,1 duplicate(slotmachine) Slot Machine#slot1-2 111 cmd_in02,169,107,1 duplicate(slotmachine) Slot Machine#slot1-3 111 cmd_in02,170,107,1 duplicate(slotmachine) Slot Machine#slot1-4 111 cmd_in02,171,107,1 duplicate(slotmachine) Slot Machine#slot1-5 111 cmd_in02,172,107,1 duplicate(slotmachine) Slot Machine#slot1-6 111 cmd_in02,173,107,1 duplicate(slotmachine) Slot Machine#slot1-7 111 cmd_in02,174,107,1 duplicate(slotmachine) Slot Machine#slot1-8 111 cmd_in02,175,107,1 duplicate(slotmachine) Slot Machine#slot1-9 111 //Row 2 cmd_in02,182,107,1 duplicate(slotmachine) Slot Machine#slot2-2 111 cmd_in02,183,107,1 duplicate(slotmachine) Slot Machine#slot2-3 111 cmd_in02,184,107,1 duplicate(slotmachine) Slot Machine#slot2-4 111 cmd_in02,185,107,1 duplicate(slotmachine) Slot Machine#slot2-5 111 cmd_in02,186,107,1 duplicate(slotmachine) Slot Machine#slot2-6 111 cmd_in02,187,107,1 duplicate(slotmachine) Slot Machine#slot2-7 111 cmd_in02,188,107,1 duplicate(slotmachine) Slot Machine#slot2-8 111 //Row 3 cmd_in02,166,101,1 duplicate(slotmachine) Slot Machine#slot3-3 111 cmd_in02,167,101,1 duplicate(slotmachine) Slot Machine#slot3-4 111 cmd_in02,168,101,1 duplicate(slotmachine) Slot Machine#slot3-5 111 cmd_in02,169,101,1 duplicate(slotmachine) Slot Machine#slot3-6 111 cmd_in02,170,101,1 duplicate(slotmachine) Slot Machine#slot3-7 111 cmd_in02,171,101,1 duplicate(slotmachine) Slot Machine#slot3-8 111 cmd_in02,172,101,1 duplicate(slotmachine) Slot Machine#slot3-9 111 //Row 4 cmd_in02,184,101,1 duplicate(slotmachine) Slot Machine#slot4-2 111 cmd_in02,185,101,1 duplicate(slotmachine) Slot Machine#slot4-3 111 cmd_in02,186,101,1 duplicate(slotmachine) Slot Machine#slot4-4 111 cmd_in02,187,101,1 duplicate(slotmachine) Slot Machine#slot4-5 111 cmd_in02,188,101,1 duplicate(slotmachine) Slot Machine#slot4-6 111 cmd_in02,189,101,1 duplicate(slotmachine) Slot Machine#slot4-7 111 cmd_in02,190,101,1 duplicate(slotmachine) Slot Machine#slot4-8 111 [/codeBOX] Theres an odds table at the beginning of the script. I want to decrease the winning rate, but have not experienced an odds script such as this before. Any suggestions and ideas on what I would change to alter the rate of winning? All help is appreciated, thank you.
  10. tested this, very very good script. I altered it slightly so its just 4v4 and not 4v4v4v4, for players with a lower population, finding 16 players may be difficult at first.
  11. Im requesting some help on a script where 2 players can PVP with some kind of wager that they put in. 1. Player A is wagering 20 coins for a Duel 2. Player B must match 20 coins or else the duel is null and cancelled. 3. Ondieevent, the coins are then given as a variable points for player to cash out at the npc, or as coins, whichever method is more efficient. Some help on this script would be great, thank you.
×
×
  • Create New...