Jump to content

powkda

Members
  • Posts

    78
  • Joined

  • Last visited

Posts posted by powkda

  1. On 3/11/2022 at 4:00 AM, LearningRO said:

    maybe you can do some trick
    make function 
    and then triger with 

    onpclogin:

     if ( noview == 1){
    do script
    {

     

     

    in your equipment script just give script set noview 1 when use and noview 0 when put it off

    the problem is that it's a consumable item, not a piece of equipment

  2. Good night, I'm using hexed 2018-06-21 and I'm having the following problem, the guild emblem is not appearing on top of the characters inside the castles during the war, can anyone tell me what it could be?

  3. 1 hour ago, Fluxion said:

    This is done to avoid accidentally taking a portal generated by another player, which you would not have seen if the portal was not visible.

    how to reverse this?

  4. The updates made are not being in order from the first to the last, it seems that it is getting random, how do I keep it in order from the last update made to the old ones?

     

    rsslib

    <?php
    
    $RSS_Content = array();
    
    function RSS_Tags($item, $type = 1, $channel_name="", $image="")
    {
    	$y = array();
    	$tnl = $item->getElementsByTagName("title");
    	$tnl = $tnl->item(0);
    	$title = $tnl->firstChild->textContent;
    
    	$tnl = $item->getElementsByTagName("link");
    	$tnl = $tnl->item(0);
    	$link = $tnl->firstChild->textContent;
    	
    	$tnl = $item->getElementsByTagName("pubDate");
    	$tnl = $tnl->item(0);
    	$date = $tnl->firstChild->textContent;		
    
    	if( $type )
    	{
    		$tnl = $item->getElementsByTagName("description");
    		$tnl = $tnl->item(0);
    		$description = $tnl->firstChild->textContent;
    		$y["description"] = $description;
    	}
    
    	$y["channel"] = $channel_name;
    	$y["title"] = $title;
    	$y["link"] = $link;
    	$y["date"] = $date;		
    	$y["type"] = $type;
    	$y["image"] = $image;
    
    	return $y;
    }
    
    function RSS_Channel( $channel, $key )
    {
    	global $RSS_Content;
    
    	$items = $channel->getElementsByTagName("item");
    
    	$y = RSS_Tags($channel, 0);
    	$channel_name = $y['title'];
    	
    	foreach($items as $item)
    	{
    		$y = RSS_Tags($item, 1, $channel_name, $key);
    
    		array_push($RSS_Content, $y);
    	}
    }
    
    function RSS_Retrieve( $urls = array() )
    {
    	global $RSS_Content;
    	$RSS_Content = array();
    
    	foreach ( $urls as $key => $url )
    	{
    		$doc_{$key}  = new DOMDocument();
    		$doc_{$key}->load( $url );
    		$channels_{$key} = $doc_{$key}->getElementsByTagName("channel");
    
    		foreach( $channels_{$key} as $channel )
    		{
    			RSS_Channel( $channel, $key );
    		}
    	}
    
    }
    
    function RSS_RetrieveLinks($url)
    {
    	global $RSS_Content;
    
    	$doc  = new DOMDocument();
    	$doc->load($url);
    
    	$channels = $doc->getElementsByTagName("channel");
    	
    	$RSS_Content = array();
    	
    	foreach($channels as $channel)
    	{
    		$items = $channel->getElementsByTagName("item");
    		foreach($items as $item)
    		{
    			$y = RSS_Tags($item, 1);
    			array_push($RSS_Content, $y);
    		}
    	}
    
    }
    
    function NO_EDIT( $urls=array(), $size = 15, $site = 0 )
    {
    /*	echo "<p align=right>DESIGN ELFIN</p>"; */
    }
    
    function RSS_Links($url, $size = 15)
    {
    	global $RSS_Content;
    
    	$page = "<ul>";
    
    	RSS_RetrieveLinks($url);
    	if($size > 0)
    		$recents = array_slice($RSS_Content, 0, $size + 1);
    
    	foreach($recents as $article)
    	{
    		$type = $article["type"];
    		if($type == 0) continue;
    		$title = $article["title"];
    		$link = $article["link"];
    		$page .= "<li><a href=\"$link\">$title</a></li>\n";			
    	}
    
    	$page .="</ul>\n";
    
    	return $page;
    }
    
    
    function RSS_Display( $urls=array(), $size = 15, $site = 0 )
    {
    	global $RSS_Content;
    
    	$site = 0;
    	$opened = false;
    	$page = "";
    	$site = (intval($site) == 0) ? 1 : 0;
    
    	RSS_Retrieve( $urls );
    	//RSS_Sort();
    	@uksort($RSS_Content, 'mySort');
    
    	if($size > 0)
    	{
    		$recents = array_slice($RSS_Content, 0, $size);
    	}
    
    	$page .= "<table cellpadding=\"0\" cellspacing=\"0\">";
    	foreach($recents as $article)
    	{
    		$channel = $article["channel"];
    		$title = $article["title"];
    		$link = $article["link"];
    		$description = $article["description"];
    		$date = $article["date"];
    		$image = $article["image"];
    		$page .= "<tr class=\"row_1\">
    					<td class=\"news\" width='100'><img src=\"status/img/$image.png\" /></td>
    					<td class=\"title\" width='260'>
    					<a target=\"_blank\" href=\"$link\">".substr($title, 0, 40)."...</a>
    					</td>
    					<td class=\"date\">
    						<span class=\"date\">" . strftime('%d %b, %Y', strtotime( $date ) ) . "</span>
    					</td>
    				   </tr>	
    				";
    	}
    	$page .= "</table>";
    	return $page."\n";
    }
    
    function mySort($a, $b){
    	global $RSS_Content;
    	return strcmp($RSS_Content[$a]['date'], $RSS_Content[$b]['date']);
    }
    
    
    
    function RSS_Sort()
    {
    	global $RSS_Content;
    
    	for( $i =0; $i < count( $RSS_Content ); $i++ )
    	{
    		$array = array();
    		for( $j =$i+1; $j < count( $RSS_Content ) - $i; $j++ )
    		{
    			if( strtotime($RSS_Content[$i]['date']) < strtotime($RSS_Content[$j]['date']) )
    			{
    				$temp = array(
    					'channel'		=>	$RSS_Content[$i]['channel'],
    					'title'			=>	$RSS_Content[$i]['title'],
    					'link'			=>	$RSS_Content[$i]['link'],
    					'date'			=>	$RSS_Content[$i]['date'],
    					'description'	=>	$RSS_Content[$i]['description'],
    					'image'			=>	$RSS_Content[$i]['image'],
    					'type'			=>	$RSS_Content[$i]['type'],
    				);
    
    				$temp2 = array(
    					'channel'		=>	$RSS_Content[$j]['channel'],
    					'title'			=>	$RSS_Content[$j]['title'],
    					'link'			=>	$RSS_Content[$j]['link'],
    					'date'			=>	$RSS_Content[$j]['date'],
    					'description'	=>	$RSS_Content[$j]['description'],
    					'type'			=>	$RSS_Content[$j]['type'],
    					'image'			=>	$RSS_Content[$j]['image'],
    				);
    
    				$RSS_Content[$i] = $temp2;
    				$RSS_Content[$j] = $temp;
    				
    
    
    			}
    		}
    	}
    }
    
    ?>

     

    Rss.php

    <head>
      <meta charset="UTF-8">
      <title>News</title>
      <link rel="stylesheet" href="status/css/style_.css">
    </head>
    <?php $ticim=include('status/inc/rssConfig.php'); ?>
    
    <body>
      <div class="newsblock">
                  <?php
    				/*------------------------------------------------------*/
    				/*--------------------CONFIG TIMEZONE-------------------*/
    				/*------------------------------------------------------*/
                  		setlocale(LC_TIME, 'pt_BR', 'pt_BR.utf-8', 'pt_BR.utf-8', 'portuguese');
    					date_default_timezone_set('America/Sao_Paulo');
    				/*------------------------------------------------------*/
    				/*------------------------------------------------------*/
    					require_once("status/inc/rsslib.php"); 
    					echo RSS_Display ( $ticim['RSSall'], 6 ); 
    					echo NO_EDIT ( $ticim['RSS_SIG']); 
    			  ?>
    </div>
    </body>

     

    rssconfig

    <?php
    return array(
    			
    	//RSS
    		'RSSall'				=>	array(
    			'news'				=>	'https://meusite.com/forum/index.php?/forum/4-informa%C3%A7%C3%B5es-gerais.xml',
    			'event'				=>	'https://meusite.com/forum/index.php?/forum/9-eventos.xml',
    			'update'			=>	'https://meusite.com/forum/index.php?/forum/8-notas-de-atualiza%C3%A7%C3%A3o.xml',
    		),
    
    			'RSS_SIG'				=>	array(
    		),
    );
    ?>
    

     

    rssconf.png.083b5e3c614a6fa0ced65499f4e8f51a.png
    I wanted it to be in order from newest to oldest

  5. Good afternoon, I'm having a problem with constant crash, can anyone tell me what it could be?

    Ragnarok has been crashed!
    
    UTC Time:       19/03/2022 19:33:01
    Local Time:     19/03/2022 16:33:01
    EXE version:    2014-10-20
    Gepard version: 2022010401
    
    OS version: Windows 8.1
    
    0x008df3a0 Hexed.exe
    0x006cee7d Hexed.exe
    0x006d08ba Hexed.exe
    0x008d8f0c Hexed.exe
    0x0089b4d2 Hexed.exe
    0x008914d8 Hexed.exe
    0x00891fd4 Hexed.exe
    0x0087a5d9 Hexed.exe
    0x0087c61c Hexed.exe
    0x00865c40 Hexed.exe
    0x00819a14 Hexed.exe
    0x007f424a Hexed.exe
    0x008fdbd9 Hexed.exe
    0x008fef48 Hexed.exe
    0x7733a9ca ntdll.dll
    
    EAX: 0x00000000 | 0000000000
    ECX: 0x00000000 | 0000000000
    EDX: 0x051ce020 | 0085778464
    EBX: 0x00000000 | 0000000000
    ESI: 0x0018f760 | 0001636192
    EDI: 0x00000001 | 0000000001
    ESP: 0x0018f688 | 0001635976
    EBP: 0x0018f6a4 | 0001636004
    EIP: 0x008df3a0 | 0009302944
    DR0: 0x00000000 | 0000000000
    DR1: 0x00000000 | 0000000000
    DR2: 0x00000000 | 0000000000
    DR3: 0x00000000 | 0000000000
    DR6: 0x00000000 | 0000000000
    DR7: 0x00000000 | 0000000000
    
    =============================================================================
    
    RST: 0
    SST: 0
    CST: 0
    TCI: 1
    
    TL1: 0
    TL2: 21
    TL3: 12
    
    SC_1: 0
    SC_2: 104
    SC_3: 0
    SC_4: 1
    SC_5: 21
    SC_6: 0
    
    PVF_1: 7
    PVF_2: 0
    PVF_3: 0
    PVF_4: 0
    PVF_5: 4198440
    
    XIC: 0 - 0
    
    EB: 0 0 0 0
    PID: 26196
    
    =================================== Stack ===================================
    0018f688:  c5 da cf f6 10 00 00 00 60 f7 18 00 00 00 00 00           `       
    0018f698:  c0 f6 18 00 79 97 98 00 ff ff ff ff cc f6 18 00       y           
    0018f6a8:  7d ee 6c 00 60 f7 18 00 6a 00 00 00 ad da cf f6   } l `   j       
    0018f6b8:  68 f8 18 00 00 00 00 00 80 f7 18 00 f9 a9 96 00   h               
    0018f6c8:  ff ff ff ff 8c f7 18 00 ba 08 6d 00 60 f7 18 00             m `   
    0018f6d8:  6a 00 00 00 00 00 00 00 ed db cf f6 6a 00 00 00   j           j   
    0018f6e8:  68 f8 18 00 00 00 00 00 68 f8 18 00 01 00 00 00   h       h       
    0018f6f8:  ff ff ff ff 01 00 00 00 00 00 00 00 6a 00 00 00               j   
    0018f708:  b8 dc 96 05 00 00 00 00 00 00 00 00 00 00 00 00                   
    0018f718:  00 00 00 00 00 00 00 00 0f 00 00 00 00 00 00 00                   
    0018f728:  c3 ca ba b8 c0 da 5c c3 ca ba b8 c0 da 00 00 00         \         
    0018f738:  0d 00 00 00 0f 00 00 00 00 00 00 00 b3 b2 00 00                   
    0018f748:  00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00                   
    0018f758:  0f 00 00 00 00 00 00 00 00 b2 00 1e 00 00 00 00                   
    0018f768:  00 00 00 00 00 00 00 00 00 00 00 00 0f 00 00 00                   
    0018f778:  00 00 00 00 ed db cf f6 b8 f7 18 00 9a af 96 00                   
    0018f788:  03 00 00 00 c4 f7 18 00 0c 8f 8d 00 68 f8 18 00               h   
    0018f798:  00 00 00 00 00 00 00 00 01 00 00 00 6a 00 00 00               j   
    0018f7a8:  ff ff ff ff a5 db cf f6 00 98 25 29 00 00 00 00             %)    
    0018f7b8:  88 f8 18 00 09 8f 98 00 ff ff ff ff 94 f8 18 00                   
    0018f7c8:  d2 b4 89 00 68 f8 18 00 00 00 00 00 01 00 00 00       h           
    0018f7d8:  6a 00 00 00 ff ff ff ff f5 d4 cf f6 00 00 00 00   j               
    0018f7e8:  00 98 25 29 50 6d 8e 04 12 7b 00 00 6a 00 00 00     %)Pm   {  j   
    0018f7f8:  88 0f 22 1e 00 00 00 00 2f 06 00 00 c8 0f 6d 04     "     /     m 
    0018f808:  64 00 00 00 00 00 00 00 00 00 00 00 30 8b 88 1e   d           0   
    INIT: 16 : 1a : 0
    
    VSYNC: 1
    
    LL/LLD: 50/71
    
    FM: 319904
    TM: 7b1f64
    
    LID: bb5e
    PMU: 7169c
    CMU: 71680
    
    =============================================================================
    
    Loaded GRFs:
    
    [0] pilulas.grf
    [1] cabelos.grf
    [2] Cores.grf
    [3] Roupas.grf
    [4] PowkRO.grf
    [5] data.grf
    
    =============================================================================
    
    Network packet's statistic:
    
    s_bytes: 1 Kbytes
    r_bytes: 72 Kbytes
    
    s_packets ->: 79
    r_packets <-: 3233
    
    00# <- 8309b8004f851e00010f2700000f270000000000000000000000000000 [109 ms]
    01# <- 9601b8004f851e0000 [109 ms]
    02# <- d0014f851e000400 [109 ms]
    03# <- d7014f851e0007b7010000 [109 ms]
    04# <- dc095500004f851e00a10200004b00000000000000000000004c00127b00008a0531018905ef00b70100000000000000000000000000000000000126cbf005052c010000ffffffffffffffff005372205561750000 [109 ms]
    05# <- 8309b7024f851e00010f2700000f270000000000000000000000000000 [109 ms]
    06# <- d7014f851e0002127b0000 [109 ms]
    07# <- b000050032100000 [297 ms]
    08# <- 8600d4891e0023cc2244bf884821853f [641 ms]
    09# <- 20013b400900 [672 ms]
    10# <- 200137400900 [672 ms]
    11# <- 200136400900 [672 ms]
    12# <- 200130400900 [672 ms]
    13# <- 20012b400900 [672 ms]
    14# <- 200122400900 [672 ms]
    15# <- 20011e400900 [672 ms]
    16# <- 20011d400900 [672 ms]
    17# <- 200117400900 [672 ms]
    18# <- 200112400900 [672 ms]
    19# <- c10221000000000000ff000031206974656d20666f6920726566696e61646f2e00 [703 ms]
    20# <- 9b0180841e0003000000 [703 ms]
    21# <- b000080059050000 [703 ms]
    22# <- b00006006a4a0000 [703 ms]
    23# <- b000300095000000 [703 ms]
    24# <- b0002c004e020000 [703 ms]
    25# <- b0002b00de030000 [703 ms]
    26# <- b0002a0006000000 [703 ms]
    27# <- b000290034040000 [703 ms]
    28# <- b0003500d6010000 [703 ms]
    29# <- b0003100f3000000 [703 ms]
    30# <- 4101110000000100000047000000 [703 ms]
    
    =============================================================================
    
    00# [ OK ] sprite\Àΰ£Á·\¸Ó¸®Åë\³²\76_³².spr [109 ms]
    01# [ OK ] sprite\Àΰ£Á·\¸Ó¸®Åë\³²\76_³².act [109 ms]
    02# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\gzered_right.bmp [703 ms]
    03# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\gzered_mid.bmp [703 ms]
    04# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\gzered_left.bmp [703 ms]
    05# [ OK ] texture\effect\ring_b.bmp [14016 ms]
    06# [ OK ] texture\effect\success.bmp [14062 ms]
    07# [ OK ] texture\effect\pika02.bmp [14625 ms]
    08# [ OK ] texture\effect\black_sword.bmp [14953 ms]
    09# [ OK ] texture\effect\black_moru.bmp [14953 ms]
    10# [ OK ] texture\effect\black_hammer_small.bmp [14953 ms]
    11# [ OK ] texture\effect\bs_refinesuccess.str [14953 ms]
    12# [ OK ] sprite\¾ÆÀÌÅÛ\º£Å×¶û¾×½º.act [32141 ms]
    13# [ OK ] sprite\¾ÆÀÌÅÛ\º£Å×¶û¾×½º.spr [32156 ms]
    14# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\win_msgbox.bmp [42734 ms]
    15# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\btn_sell_b.bmp [42734 ms]
    16# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\btn_sell_a.bmp [42734 ms]
    17# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\btn_sell.bmp [42734 ms]
    18# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\asas_aureas_de_arcanjo.bmp [44094 ms]
    19# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\º£Å×¶û¾×½º.bmp [45016 ms]
    20# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\new_item.bmp [45016 ms]
    21# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\chatmode_on.bmp [47453 ms]
    22# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\dialog_bg.bmp [47453 ms]
    23# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\dialscr_down.bmp [82687 ms]
    24# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\basic_interface\dialscr_up.bmp [82687 ms]
    25# [ OK ] palette\¸Ó¸®\¸Ó¸®6_³²_1.pal [92562 ms]
    26# [ OK ] palette\¸ö\¾î¼¼½Å_³²_172.pal [92578 ms]
    27# [ OK ] imf\¾î¼¼½ÅÅ©·Î½º_³².imf [92703 ms]
    28# [ OK ] sprite\¾Ç¼¼»ç¸®\³²\³²_aura_sacro_imperador.spr [92703 ms]
    29# [ OK ] sprite\¾Ç¼¼»ç¸®\³²\³²_aura_sacro_imperador.act [92703 ms]
    30# [ OK ] sprite\¾Ç¼¼»ç¸®\³²\³²_coroa_do_sacro_imperador.spr [92703 ms]
    
    =============================================================================
    
    00000001 ..\ftwrk.lex
    00000001 MonsterTalkTable.xml
    
    =============================================================================
    
    0x00400000   0x01523000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\Hexed.exe
    0x772e0000   0x0016f000   C:\Windows\SYSTEM32\ntdll.dll
    0x75a50000   0x00140000   C:\Windows\SYSTEM32\KERNEL32.DLL
    0x758c0000   0x000d7000   C:\Windows\SYSTEM32\KERNELBASE.dll
    0x6fa70000   0x000a0000   C:\Windows\system32\apphelp.dll
    0x75300000   0x0007e000   C:\Windows\SYSTEM32\ADVAPI32.dll
    0x648b0000   0x000ec000   C:\Windows\SYSTEM32\DDRAW.dll
    0x003f0000   0x00007000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\DINPUT.dll
    0x75e10000   0x0010d000   C:\Windows\SYSTEM32\GDI32.dll
    0x75c20000   0x00027000   C:\Windows\SYSTEM32\IMM32.DLL
    0x74310000   0x00020000   C:\Windows\SYSTEM32\IPHLPAPI.DLL
    0x67f10000   0x00069000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\MSVCP100.dll
    0x647f0000   0x000bf000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\MSVCR100.dll
    0x73eb0000   0x00013000   C:\Windows\SYSTEM32\NETAPI32.dll
    0x759a0000   0x00097000   C:\Windows\SYSTEM32\oleaut32.dll
    0x75f20000   0x012c0000   C:\Windows\SYSTEM32\SHELL32.dll
    0x74b40000   0x00045000   C:\Windows\SYSTEM32\SHLWAPI.dll
    0x755d0000   0x00154000   C:\Windows\SYSTEM32\USER32.dll
    0x732e0000   0x00008000   C:\Windows\SYSTEM32\VERSION.dll
    0x73810000   0x00437000   C:\Windows\SYSTEM32\WININET.dll
    0x71010000   0x00023000   C:\Windows\SYSTEM32\winmm.dll
    0x74a60000   0x0004f000   C:\Windows\SYSTEM32\WS2_32.dll
    0x10000000   0x0003f000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\aossdk.dll
    0x30000000   0x0006d000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\binkw32.dll
    0x00240000   0x00015000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\cps.dll
    0x002b0000   0x0005d000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\granny2.dll
    0x60000000   0x0005d000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\ijl15.dll
    0x21100000   0x0005e000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\mss32.dll
    0x751a0000   0x00129000   C:\Windows\SYSTEM32\ole32.dll
    0x74b90000   0x000c3000   C:\Windows\SYSTEM32\msvcrt.dll
    0x75b90000   0x00041000   C:\Windows\SYSTEM32\sechost.dll
    0x75500000   0x000bb000   C:\Windows\SYSTEM32\RPCRT4.dll
    0x6baa0000   0x00007000   C:\Windows\SYSTEM32\DCIMAN32.dll
    0x74fd0000   0x00112000   C:\Windows\SYSTEM32\MSCTF.dll
    0x755c0000   0x00007000   C:\Windows\SYSTEM32\NSI.dll
    0x74300000   0x00008000   C:\Windows\SYSTEM32\WINNSI.DLL
    0x73ea0000   0x0000a000   C:\Windows\SYSTEM32\netutils.dll
    0x73e80000   0x0001d000   C:\Windows\SYSTEM32\srvcli.dll
    0x73e60000   0x00012000   C:\Windows\SYSTEM32\wkscli.dll
    0x75380000   0x0017d000   C:\Windows\SYSTEM32\combase.dll
    0x72600000   0x00239000   C:\Windows\SYSTEM32\iertutil.dll
    0x732c0000   0x0001b000   C:\Windows\SYSTEM32\USERENV.dll
    0x6ea70000   0x00023000   C:\Windows\SYSTEM32\WINMMBASE.dll
    0x646c0000   0x0012f000   C:\Windows\SYSTEM32\MFC42.DLL
    0x737b0000   0x00050000   C:\Windows\SYSTEM32\OLEACC.dll
    0x00260000   0x00021000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\V3HUNT.dll
    0x63b70000   0x00b4a000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\gepard.dll
    0x752d0000   0x0001e000   C:\Windows\SYSTEM32\SspiCli.dll
    0x743e0000   0x0001e000   C:\Windows\SYSTEM32\bcrypt.dll
    0x732b0000   0x0000f000   C:\Windows\SYSTEM32\profapi.dll
    0x75be0000   0x0003c000   C:\Windows\SYSTEM32\cfgmgr32.dll
    0x742b0000   0x00021000   C:\Windows\SYSTEM32\DEVOBJ.dll
    0x63ac0000   0x000a9000   C:\Windows\SYSTEM32\ODBC32.dll
    0x63a30000   0x00089000   C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\COMCTL32.dll
    0x73f20000   0x0000f000   C:\Windows\SYSTEM32\WTSAPI32.dll
    0x70d90000   0x00141000   C:\Windows\SYSTEM32\dbghelp.dll
    0x752f0000   0x00006000   C:\Windows\SYSTEM32\PSAPI.DLL
    0x6ba90000   0x00008000   C:\Windows\SYSTEM32\FLTLIB.DLL
    0x74a50000   0x0000a000   C:\Windows\SYSTEM32\CRYPTBASE.dll
    0x749f0000   0x00054000   C:\Windows\SYSTEM32\bcryptPrimitives.dll
    0x730d0000   0x000ed000   C:\Windows\system32\uxtheme.dll
    0x74950000   0x00009000   C:\Windows\SYSTEM32\kernel.appcore.dll
    0x742e0000   0x00014000   C:\Windows\SYSTEM32\dhcpcsvc.DLL
    0x740d0000   0x0004b000   C:\Windows\system32\mswsock.dll
    0x731e0000   0x00011000   C:\Windows\system32\napinsp.dll
    0x72890000   0x00016000   C:\Windows\system32\pnrpnsp.dll
    0x73290000   0x00014000   C:\Windows\system32\NLAapi.dll
    0x74050000   0x0007e000   C:\Windows\SYSTEM32\DNSAPI.dll
    0x72880000   0x0000a000   C:\Windows\System32\winrnr.dll
    0x74000000   0x00046000   C:\Windows\System32\fwpuclnt.dll
    0x73ff0000   0x00008000   C:\Windows\System32\rasadhlp.dll
    0x73ed0000   0x00045000   C:\Windows\SYSTEM32\WINSTA.dll
    0x26f00000   0x0002a000   C:\Users\Felipe\Desktop\PowkRO Patcher Full\Mp3dec.asi
    0x687c0000   0x00081000   C:\Windows\SYSTEM32\DSOUND.DLL
    0x743a0000   0x00040000   C:\Windows\SYSTEM32\POWRPROF.dll
    0x75830000   0x0008d000   C:\Windows\SYSTEM32\clbcatq.dll
    0x6bb30000   0x00053000   C:\Windows\System32\MMDevApi.dll
    0x6ece0000   0x00060000   C:\Windows\SYSTEM32\AUDIOSES.DLL
    0x6bbe0000   0x0000a000   C:\Windows\SYSTEM32\avrt.dll
    0x74960000   0x0008c000   C:\Windows\SYSTEM32\shcore.dll
    0x71040000   0x0001a000   C:\Windows\system32\dwmapi.dll
    0x67220000   0x009f9000   C:\Windows\SYSTEM32\igdumdim32.dll
    0x70a10000   0x00375000   C:\Windows\SYSTEM32\igdusc32.dll
    0x686e0000   0x000df000   C:\Windows\SYSTEM32\D3DIM700.DLL
    0x74280000   0x0000d000   C:\Windows\system32\wbem\wbemprox.dll
    0x74210000   0x00066000   C:\Windows\SYSTEM32\wbemcomn.dll
    0x74430000   0x00019000   C:\Windows\SYSTEM32\CRYPTSP.dll
    0x74400000   0x00030000   C:\Windows\system32\rsaenh.dll
    0x741f0000   0x00011000   C:\Windows\system32\wbem\wbemsvc.dll
    0x74120000   0x000c2000   C:\Windows\system32\wbem\fastprox.dll

     

  6. Without editing job_db1.txt

    // Star Gladiator
    4047, 28000,90   ,650  ,470  ,400  ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,500  ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000

    Without putting points on vitality

    731923172_0vit.png.b5bee552004155df145a2a0b23d27996.png

    With 300 vitality points

    1821955566_vit300.png.8e8c0d51d6bc5068310a16b3d80baf51.png

     

     

    With the modified HPFactor and HPMultiplicator

    // Star Gladiator
    4047, 28000,100   ,700  ,470  ,400  ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,500  ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000

    Without putting points on vitality

    1644358262_2vit0.png.be09c20151ff888a818a57d23eacd1b3.png

     

    With 300 vitality points

    809085574_2vit300.png.06a8344a17dfc56ede2203b7dbf48c7d.png

     

     

    This is the problem I'm having, I change the values but the HP doesn't increase, how can I solve it?

  7. Good morning, I'm wanting to increase the HP of just one class, I already changed the HPFactor and HPMultiplicator in job_db1.txt but with no effect on the hp, I changed the Weight just to check, and that did change, but the HP didn't change anything.
    How can I increase the HP of only one class?

  8. I am using this item for all group members to earn cash

    31002,Bônus_Eletrônico,Bônus Eletrônico,2,10000,,2500,,,,,0xFFFFFFFF,7,2,,,,,,{ addrid(2,1,getcharid(1)); set @cash, rand(1,100); set #CASHPOINTS,#[email protected]; dispbottom "PowkRO: Você Ganhou "[email protected]+" Rops."; },{},{}

     

    I wanted it to be like this:
    Who opened: chance from 1 to 100 and the amount of cash the group members won will appear.
    Party members: chance to win from 1 to 50.

  9. 6 hours ago, Rynbef said:

    @powkdaI've posted a modified version above. Just replace ur case and check if it works. I can only recommend u to study about close; close2; and end; I've already explained it. Not only on this thread. U should read the rA/doc/script_commands.txt Manual! U do again used close; and end; wrong.

     

    Maybe attach ur full script. So I can understand why ur case needs a next; Is their a dialog before?

     

    Rynbef~

     

    I did as you said, there was no error, but it is not getting the items from the inventory

    here is the full npc

     

    mes "^FF0000["+strnpcinfo(1)+"]^000000";
    mes "Você pode recuperar os seus itens";
    mes "Deseja Continuar?";
    switch(select("[^daa520•^000000] Sim:[^ff0000•^000000] Não")){
    
    case 1:
        if(!countitem(31000))goto noanel;
        getinventorylist;
        for(set .@i,0; .@i<@inventorylist_count; .@i++){
            if(@inventorylist_id[.@i] == 31000 && !@inventorylist_equip[.@i]){
                delitem @inventorylist_id[.@i],1;
                getitem 30001,5;
                next;
                mes "^FF0000["+strnpcinfo(1)+"]^000000";
                mes "Aqui está a sua recompensa.";
                close;
            } else if(.@i==inventorylist_count){
                //they only have the equipped item
                close;
            } else continue;
        }
        end;
    
    
    	case 2:
    	next;
    	mes "^FF0000["+strnpcinfo(1)+"]^000000";
    	mes "Volte quando quizer!";
    	close;
    	end;
    }

     

  10. On 1/30/2022 at 7:47 PM, Rynbef said:

    @powkda

    Some small suggestions

    if u only want to know if player don't have one of an item u better change from:

    if(countitem(31000)<1)

     

    To:

    if(!countitem(31000))

     

    If u just need the label noanel once. U should better put the code directly to the if statement. It will be better than goto a label u only need once.

    U don't need to close; and end; the script. Close end the dialog (mes etc). End stops the script. It's as example used if no dialog is open. If u want to close the dialog but u want to do something like getitem, delitem or else where u need to keep player attached u can use close2. It will close the dialog normally but the script do stuff in background. Than u need to end the script afterwards.

    On switch case u can use break; to jump directly to the code after the switch. It will ignores the other cases.

     

    This should works for u:

    case 1:
        if(!countitem(31000))goto noanel;
        getinventorylist;
        for(set [email protected],0; [email protected]<@inventorylist_count; [email protected]++){
            if(@inventorylist_id[[email protected]] == 31000 && [email protected]_equip[[email protected]]){
                delitem @inventorylist_id[[email protected]],1;
                getitem 30001,5;
                next;
                mes "^FF0000["+strnpcinfo(1)+"]^000000";
                mes "Aqui está a sua recompensa.";
                close;
            } else if([email protected]==inventorylist_count){
                //they only have the equipped item
                close;
            } else continue;
        }
        end;

    Feel free to PM me if u need help. I'm already willing to help.

     

    Rynbef~

     

    I did this but it didn't work, did I make a mistake somewhere?

    case 1:
    	if(!countitem(31000))goto noanel;
    	getinventorylist;
    	for(set [email protected],0; [email protected]<@inventorylist_count; [email protected]++){
    		if(@inventorylist_id[[email protected]] == 31000 && [email protected]_equip[[email protected]]){
    			delitem @inventorylist_id[[email protected]],1;
    			getitem 30001,5;
    			next;
    			mes "^FF0000["+strnpcinfo(1)+"]^000000";
    			mes "Aqui está a sua recompensa.";
    			close;
    			}
    			else if([email protected]==inventorylist_count){
    				close;
    				}
    		}
    		end;

     

  11. Good night, I'm having a big problem with the delitem, it is removing the item that is equipped, how do I make it only count and delete the item that is in the inventory?

    	case 1:
    	if(countitem(31000)<1)goto noanel;
    	delitem 31000,1;
    	getitem 30001,5;
    	next;
    	mes "^FF0000["+strnpcinfo(1)+"]^000000";
    	mes "Aqui está a sua recompensa.";
    	close;
    	end;

     

  12. I made this item to hide the headgear, but if the character relogged the items again, I wanted it to only appear if the character changed the equipment, how should I do it?

    30130,Adesivo_Magico,Adesivo Magico,2,1,,500,,,,,0xFFFFFFFF,7,2,,,,,,{ changelook LOOK_HEAD_TOP, 0; changelook LOOK_HEAD_MID, 0; changelook LOOK_HEAD_BOTTOM, 0; },{},{}

    Thank you in advance for your attention, and you will definitely have my like

  13. On 1/11/2022 at 10:40 PM, Emistry said:
    if (.map$ == strcharinfo(3) && !(agitcheck() || agitcheck2() || agitcheck3()) {

     

     

    On 1/14/2022 at 6:08 AM, Rynbef said:

    @EmistryU missed a ) to close the if statement 🙂

    if (.map$ == strcharinfo(3) && !(agitcheck() || agitcheck2() || agitcheck3())) {

     

    Rynbef~

     

    There was no more error when loading, but it is not preventing the player of the enemy guild from staying inside the castle outside of war time, when this message enters the log:

    bug.png.ed70c702c5a700562afad1c6a5af731f.png

    Can you help me with this error I got?

  14. 1 hour ago, Emistry said:
    -	script	Sample	-1,{
    	
    	OnInit:
    		.map$ = "prtg_cas01";
    		
    		setmapflag(.map$, MF_LOADEVENT);
    		end;
    		
    	OnPCLoadMapEvent:
    		if (.map$ == strcharinfo(3) && !(agitcheck() || agitcheck2() || agitcheck3)) {
    			[email protected]_guild_id = getcastledata(.map$, CD_GUILD_ID);
    			if ([email protected]_guild_id && getcharid(2) != [email protected]_guild_id) {
    				mes "You aren't allow to enter this area.";
    				close2;
    				warp "SavePoint", 0, 0;
    			}
    		}
    		end;
    }

     

     

    Thank you so much for helping me I got this error here

     

        need '('
       639 : 
       640 :                setmapflag(.map$, MF_LOADEVENT);
       641 :                end;
       642 : 
       643 :        OnPCLoadMapEvent:
    *  644 :                if (.map$ == strcharinfo(3) && !(agitcheck() || agitcheck2() || agitcheck3')') {
       645 :                        .@castle_guild_id = getcastledata(.map$, CD_GUILD_ID);
       646 :                        if (.@castle_guild_id && getcharid(2) != .@castle_guild_id) {
       647 :                                mes "You aren't allow to enter this area.";
       648 :                                close2;
       649 :                                warp "SavePoint", 0, 0;

     

  15. 12 minutes ago, EIysium said:

    You need put a callfunc instead of a bonus.

    Make an txt on your npc folder and add this: 

     

    function    script    F_NoWoEBonus    {
        if(agitcheck() || agitcheck2() || agitcheck3()){
            end;
        }
        bonus bStr,500;
    }


     

    and add callfunc on you desired item (you need to put in script line).

     

    callfunc "F_NoWoEBonus"; <<< this would go on the script item line.

     

    I tried to do as follows

    function	script	F_Excalibur	{
    
    
    
        if(agitcheck() || agitcheck2() || agitcheck3()){
    		bonus bBaseAtk,2600;
            end;
        }
    	
        bonus bBaseAtk,2600; bonus2 bHPDrainRate,1000,100;
    	
    }

    but it wasn't very bad
    I want that during woe I was like:

    bonus bBaseAtk,2600;

    and when you're not having woe it looks like this:

    bonus bBaseAtk,2600; bonus2 bHPDrainRate,1000,100;

     

    thank you so much for helping me ❤️

  16. function	script	F_Excalibur	{
    
    if (!agitcheck() && !agitcheck2() && !agitcheck3()) {
    	bonus bBaseAtk,2600;
    	end;
    	}
    	
    else {
    	bonus bBaseAtk,2600; bonus2 bHPDrainRate,1000,100;
    	end;
    	}
    }

    I wanted it to give an X bonus during woe and outside woe time to give a Y bonus
    I tried to do it that way more without success.

  17. On 4/14/2020 at 1:23 AM, Sanasol said:

    https://github.com/sanasol/FluxCP_Addons-VoteForPoints/blob/master/config/addon.php#L4

     

    Do you use vote option here?

     

    NPC only works in this case i guess 🙂

    when I buy the apple at the shop, it doesn't deduct the points, nor does it check if I have enough points.
     

    poring_c01,104,100,4	script	VFP Manager	62,{
    	function getPoints;
    
    	set .@n$, 			"[VFP Manager]";
    	set .@settings, 	1;		// 0 = item, 1 = shop
    	set .@itemReward, 	501;	// if settings is set to item
    	set .@convertRate, 	2;		// 2 Vote Points for 1 Red Potion
    	set .vp, 			getPoints(getcharid(3));
    	
    	switch (.@settings) {
    		case 0:
    			mes .@n$;
    			mes "Would you like to convert your "+ .vp +" Vote Points?";
    			mes "^ff0000The current convert rate is "+ .@convertRate +" Vote Points for 1 "+ getitemname(.@itemReward) +".";
    			next;
    			menu "Yes", L_Convert, "No", -;
    			mes .@n$;
    			mes "Bye, then.";
    			break;
    		case 1:
    			mes .@n$;
    			mes "You have ^ff0000"+ .vp +"^000000 Vote Points.";
    			mes "Would you like to go shopping?";
    			next;
    			menu "Yes", -, "No", L_Goodbye;
    			mes .@n$;
    			mes "Have fun shopping!";
    			callshop "votepoints_shop",1;
    			npcshopattach "votepoints_shop";
    			end;
    	}
    	
    	L_Goodbye:
    		mes .@n$;
    		mes "Goodbye, then.";
    		close;
    	
    	L_Convert:
    		if (.vp < .@convertRate)
    			goto L_VotePointsTooLow;
    		mes .@n$;
    		mes "How much Vote Points would you like to convert?";
    		next;
    		menu "All", L_ConvertAll, "Input Amount", L_ConvertAmount;
    	
    	L_ConvertAmount:
    		input .@convert;
    		
    		if (.@convert > .vp)
    			goto L_VotePointsTooLow;
    		
    		set .vp, ((.vp - .@convert) + (.@convert % .@convertRate));
    		set .@convert, (.@convert / .@convertRate);
    		getitem .@itemReward, .@convert;
    		query_sql("UPDATE cp_createlog SET votepoints = "+ .vp +" WHERE account_id = "+ getcharid(3));
    		
    		mes .@n$;
    		mes "You have received "+ .@convert +"x "+ getitemname(.@itemReward) +".";
    		mes "Your current Vote Points is "+ .vp;
    		close;
    		
    	L_ConvertAll:
    		set .@convert, (.vp / .@convertRate);
    		set .vp, (.vp % .@convertRate);
    		getitem .@itemReward, .@convert;
    		query_sql("UPDATE cp_createlog SET votepoints = "+ .vp +" WHERE account_id = "+ getcharid(3));
    		
    		mes .@n$;
    		mes "You have received "+ .@convert +"x "+ getitemname(.@itemReward) +".";
    		mes "Your current Vote Points is "+ .vp;
    		close;
    	
    	L_VotePointsTooLow:
    		mes .@n$;
    		mes "Your Vote Points is too low. Come back when you have the minimum amount of Vote Points.";
    		close;
    	
    	function getPoints {
    		set .@account_id, getarg(0);
    		
    		set .@count, query_sql("SELECT votepoints FROM cp_createlog WHERE account_id = "+ .@account_id, .@votepoints);
    		
    		return .@count ? .@votepoints : 0;
    	}
    	
    	OnBuyItem:
    		set .@cost,0;
    		for(set .@i,0; .@i<getarraysize(@bought_nameid); set .@i,.@i+1)
    			for(set .@j,0; .@j<getarraysize(.itemShop); set .@j,.@j+2)
    				if (@bought_nameid[.@i] == .itemShop[.@j]) {
    					set .@cost, .@cost+(.itemShop[.@j+1]*@bought_quantity[.@i]);
    					break;
    				}
    		mes .@n$;
    		if (.@cost > .vp) mes "You don't have enough Vote Points.";
    		else {
    			for(set .@i,0; .@i<getarraysize(@bought_nameid); set .@i,.@i+1) {
    				getitem @bought_nameid[.@i], @bought_quantity[.@i];
    				dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+".";
    			}
    			set .vp, .vp - .@cost;
    			query_sql("UPDATE cp_createlog SET votepoints = votepoints - "+ .@cost +" WHERE account_id = "+ getcharid(3));
    			mes .@n$;
    			mes "Deal completed.";
    			mes "You now have ^ff0000"+ .vp +"^000000 Vote Points.";
    			emotion e_cash;
    		}
    		set .@cost,0;
    		deletearray @bought_nameid[0], getarraysize(@bought_nameid);
    		deletearray @bought_quantity[0], getarraysize(@bought_quantity);
    		close;
    	
    	OnInit:
    		setarray .itemShop[0],	501,2,607,5; // <ITEM_ID>,<PRICE>,...	
    		
    		npcshopdelitem "votepoints_shop",512;
    		for(set .@i, 0; .@i < getarraysize(.itemShop); set .@i, .@i+2)
    			npcshopadditem "votepoints_shop", .itemShop[.@i], .itemShop[.@i+1];
    	end;
    }
    
    -	shop	votepoints_shop	-1,512:1
    <?php if (!defined('FLUX_ROOT')) exit;
    return array(
    	'DefaultThemeName'		=> 'default',
    	'PointsType'			=> "vote", // credit, vote, cash
    	'DefaultIntervalVoting' => 12,
    	'DefaultVotePoints' 	=> 0,
    	'VoteNameMax'			=> 15,
    	'VoteNameMin' 			=> 6,
    	'VotePointsMin'			=> 0,
    	'VotePointsMax'			=> 999,
    	'VoteIntervalMin'		=> 1,
    	'VoteIntervalMax'		=> 24,
    	'AllowedImgType'		=> array('jpg', 'jpeg', 'png', 'gif'),
    	'MaxFileSize'			=> 500, // KB,
    	'ImageMaxWidth'			=> 150,
    	'ImageMaxHeight'		=> 150,
    	'ImageUploadPath'		=> "votes", // /themes/default/img/votes/
    	'EnableIPVoteCheck'		=> true,
    	'AlphaNumSpaceRegex'	=> "/^[A-Za-z0-9_\s]+$/",
    
    	'MenuItems'	=> array(
    		'Other'	=> array(
    			'Vote for Points' => array(
    				'module' => 'voteforpoints'
    			)
    		)
    	),
    
    	'SubMenuItems'	=> array(
    		'voteforpoints'	=> array(
    			'index' => 'Vote',
    			'add' => 'Add Voting Site',
    			'list' => 'List Voting Sites',
    			'log' => 'Voters Log',
    		)
    	),
    
    	'FluxTables'	=> array(
    		'vfp_logs' => 'cp_vfp_logs',
    		'vfp_sites' => 'cp_vfp_sites',
    		'cashpoints' => 'acc_reg_num'
    	)
    )
    ?>

    Can someone help me please

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.