Jump to content

creed.sin

Members
  • Posts

    30
  • Joined

  • Last visited

Posts posted by creed.sin

  1. On 4/26/2013 at 10:16 AM, Patskie said:

    Execute this on your database

    
    CREATE TABLE IF NOT EXISTS `freebies` (
      `id` int(11) NOT NULL auto_increment,
      `account_id` int(11) NOT NULL default '0',
      `name` varchar(23) NOT NULL default '',
      `last_ip` varchar(100) NOT NULL default '',
      PRIMARY KEY (`account_id`),
      KEY (`id`)
    ) ENGINE=MyISAM;

     

    Then try this code : 

     

     

    
    prontera,150,150,0    script    Freebies    100,{
        mes .NPC$;
        mes "Wanna get the freebies " +strcharinfo(0)+ "?";
        if (select("Yes:No") - 1) close;
        mes .NPC$;
        mes "Let me check if you are really a new member";
        next;
        query_sql("SELECT last_ip FROM `login` WHERE account_id = "+getcharid(3)+"", .@lastip$);
        query_sql("SELECT last_ip FROM `freebies`", .@freebiesip$);
        if (.@lastip$ == .@freebiesip$) {
                mes .NPC$;
                mes "You already got the freebies " +strcharinfo(0);
                close;
        }
        query_sql("INSERT INTO `freebies` VALUES (NULL," + getcharid(3) + ",'" + escape_sql(strcharinfo(0)) + "','" + .@lastip$ + "')");
        for ( set .@x,0; .@x < getarraysize(.freebie_item); set .@x,.@x + 1 ) {
                getitem .freebie_item[.@x], ..quantity[.@x];
        }
        
        close;
        
        OnInit:
            set .NPC$, "[ " strnpcinfo(1)+ " ]";
            setarray .freebie_item[0],607,608;
            setarray .quantity[0],1,1;
    }

    Did not test though. Post if an error occured.

    error occurred, if same user logged from another IP
    Please help

    image.png.cccb39e3a224af96c291168760abbd67.png

  2. Module Name: C:\game\Ragray\game.exe
    Time Stamp: 0x4c52288f - Thu Jul 29 18:19:11 2010
    
    
    Exception Type: 0xc0000005
    
    0x0041af5d    game.exe
    0x00418a7c    game.exe
    0xffffffff    
    0x00610706    game.exe
    0x00610348    game.exe
    0x007030f3    game.exe
    0x0071762d    game.exe
    0x75678543    KERNEL32.DLL
    0x77c0ac69    ntdll.dll
    0x77c0ac3c    ntdll.dll
    
    eax: 0xffffffff    ebx: 0x00418a21
    ecx: 0x00418a21    edx: 0x00000000
    esi: 0x00418a2d    edi: 0x0018ab64
    ebp: 0x0018aa40    esp: 0x0018aa34
    
    stack 0018aa34 - 0018ae34
    0018AA34 : 21 8A 41 00 B0 03 00 00 21 8A 41 00 64 AB 18 00
    0018AA44 : 7C 8A 41 00 00 A0 00 00 72 42 81 00 A8 11 7A 00
    0018AA54 : F8 01 55 09 01 00 00 00 B0 03 00 00 00 00 00 00
    0018AA64 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AA74 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AA84 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AA94 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AAA4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AAB4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AAC4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AAD4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AAE4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AAF4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AB04 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0018AB14 : 00 00 00 00 00 00 00 00 00 00 00 00 F8 01 55 09
    0018AB24 : 68 AB 18 00 77 8F 41 00 02 00 00 00 64 AB 18 00
    
    Launch Info
    0000 0000 0000 0000 0000 0000 0000 0000
    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 : Novice
    

    Please tell me how to fix this..

     

  3. i fixed it.. i was using viewid 2000

    i used 1000 its worked..

     

    Can you please tell me how to increass view id support I tried to diff patch but its not working...
    when i use 2000 view id in error shows only 32.act and 32.spr file missing...

     

    Please Help...

     

    Sorry for my bad english..

  4. Am trying to add custom items to my client but its giving error...

    Please Check Screenshot and Gravity Error..

    Module Name: D:\Miruku RORE Client 02092013\2010-07-30aRagexeRE.exe.patched.exe
    Time Stamp: 0x4c52288f - Fri Jul 30 06:49:11 2010
    
    
    Exception Type: 0xc0000005
    
    0x0054a9e3	2010-07-30aRagexeRE.exe.patched.exe
    0x6b232096	
    
    eax: 0x00000000	ebx: 0x08258680
    ecx: 0x0119255b	edx: 0x00000000
    esi: 0x00000000	edi: 0x00129e7d
    ebp: 0x00129f84	esp: 0x00129cd8
    
    stack 00129cd8 - 0012a0d8
    00129CD8 : 30 7C 22 08 08 CD 79 08 04 00 00 00 72 EA 0F 03 
    00129CE8 : 73 70 72 69 74 65 5C BE C7 BC BC BB E7 B8 AE 5C 
    00129CF8 : B3 B2 5C B3 B2 68 A9 F9 CF 38 81 04 2F E4 CE 91 
    00129D08 : CF 9C F1 65 80 A6 3F 3C BF 80 73 F8 62 1C DE 6C 
    00129D18 : 6D 3B 7E 7B 8D 3D 0E 67 E5 73 0C C7 E7 85 71 78 
    00129D28 : 31 67 78 19 AC 63 92 65 6C 1B AE FE 96 24 3C 77 
    00129D38 : 64 1C C9 40 31 62 61 BB 84 65 E9 75 BF 6C 79 92 
    00129D48 : B1 DD 87 61 DB B8 22 88 F5 63 71 A9 A7 06 2E 07 
    00129D58 : 6B C6 F1 09 21 09 87 C9 EA B1 CB 9E 12 18 7F 5E 
    00129D68 : 6F C8 76 23 60 5D 91 7F B2 72 DA 63 C7 65 96 5B 
    00129D78 : 25 19 01 74 84 15 CE 07 00 00 00 00 43 9D 12 00 
    00129D88 : 40 00 00 00 C4 9D 12 00 56 1E 71 00 A4 9D 12 00 
    00129D98 : A2 14 77 00 D8 9D 12 00 00 00 00 00 BC 9D 12 00 
    00129DA8 : 7F 00 42 00 01 00 00 00 48 9E 12 00 0C 9E 12 00 
    00129DB8 : B8 A0 25 08 F4 9D 12 00 56 79 47 00 00 00 00 00 
    00129DC8 : 00 00 00 00 FF FF FF FF E0 D3 22 08 9F DD 44 00 
    
    Launch Info 
    002C 002C 002C 002C 002C 002C 002C 002C 
    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 : Assassin Cross
    
    

     

    post-817-0-11664400-1364103130_thumb.jpg

  5. here is the slideshow php-code

    <?php if (!defined('FLUX_ROOT')) exit; ?>
    <?php
    $files = scandir(dirname(dirname(__FILE__)).'\photos');
    $x = 0;
    foreach ($files as $file){
       $file_hs = count(explode('.',$file));
    if ($file == '.' || $file == '..' || $file == 'Thumbs.db'){
     echo '';
       }
       else{
        if($x == 0){
        $x = 1;   
    ?>
      <a class="group4" href="<?php echo $this->themePath('photos/'.$file) ?>"><img src="<?php echo $this->themePath('photos/'.$file) ?>" class="active" /></a>
    <?php
        }else{
    ?>
        <a class="group4" href="<?php echo $this->themePath('photos/'.$file) ?>"><img src="<?php echo $this->themePath('photos/'.$file) ?>" /></a>
    <?php
        }
       }
    
    }
    ?>
    

    i didnt changed anything.. path is correct.. is any other php software need to install to show screenshots?

    like we use gd for guild emblem show

×
×
  • Create New...