Jump to content

Chaos92

Members
  • Posts

    1864
  • Joined

  • Last visited

  • Days Won

    63

Posts posted by Chaos92

  1. 4 hours ago, BTNX said:

    I've looked through the forums, google and github for FluxCP docs with no luck.

     

    I would like to learn how to build my own module.  Where can I find the instructions?

     Example you want /?module=ownmodule&action=ownfile
    1. File Manager ->FluxCP-master -> modules -> ownmodule(create folder) -> ownfile.php (create empty file)
    2. File Manager ->FluxCP-master -> themes -> default (themename you use) ->ownmodule (create folder) -> ownfile.php (create your php/html coded file)
    3. Create linking to /?module=ownmodule&action=ownfile from anywhere you need so that players can click easily (since its a custom link)

  2. 5 hours ago, Shidooka said:

    Hello guys, 

    First of all i would like to say sorry if i wrongly post here ??

    This is regarding to my ragnarok private server..When i used my @item convex mirror, the item failed. Please help..

    check in itemdb.. pre-re check in pre-re... renewal check in re folder

    restart server.

  3. 1 hour ago, Funkybeatz15 said:

    Sers,

    the compiling is complete broken on Linux with CMake.

    If you want to compile, there are many errors with the cmakelists and if you fix this there are many missing declarations.

     

    Can a developer please look into it?

    can you show some screenshots or anything related to your problems ? easier for us to help

    • Upvote 2
  4. 4 hours ago, estoudegreve said:

     

    Works! but not perfect.

     

    Notice: Undefined offset: 0 in /home/brasilra/public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 44
    votar.png.b7b67ec4063d9d9d4dce9687c8019973.png

     

     

    When I try to click and vote doesn't works!

    what do u fill in add voting sites ?

    try with clean voteforpoints, paste it back. 

    • Upvote 1
  5. 9 hours ago, estoudegreve said:
    
    <?php if (!defined('FLUX_ROOT')) exit; ?>
    <br/>
    <h2>Add New Voting Site - Administrator</h2>
    <?php if(count($error)>0): ?>
    <h3>Error:</h3>
    <ul>
    	<?php foreach($error as $err){ ?>
    		<li><?php echo $err; ?></li>
    	<?php } ?>
    </ul>
    <?php endif; ?>
    <form action="<?php echo $this->url ?>&return=add_site"  method="post" enctype="multipart/form-data" class="generic-form">
    <table class="vertical-table" width="100%">
    	<tr>
    		<th align="left">
    		<?php echo Flux::message('SITE_NAME_LABEL'); ?>						
    		</th>
    		<td>
    			<input type="text" name="site_name" id="id_site_name" value="<?php echo $params->get('site_name'); ?>" placeholder="Enter Site Name" required="required" />
    		</td>
    	</tr>
    	<tr>
    		<th align="left">
    		<?php echo Flux::message('ADDRESS_LABEL'); ?>						
    		</th>
    		<td>
    			<input type="text" name="site_address" id="id_site_address"  value="<?php echo $params->get('site_address'); ?>" placeholder="Enter Site Name" required="required" />
    		</td>
    	</tr>
    	<tr>
    		<th align="left">
    		<?php echo Flux::message('BANNER_LABEL'); ?>		
    		</th>
    		<td>
    			<input type="file" name="banner_upload" id="id_banner_upload" value="<?php echo $params->get('banner_upload'); ?>" />
    			<input type="checkbox" name="cbox_banner_url" id="id_cbox_banner_url" <?php if($params->get('cbox_banner_url')) echo "CHECKED"; ?>/><i>URL Banner:</i>
    			<input type="text" name="banner_url" id="id_banner_url" value="<?php echo $params->get('banner_url'); ?>" placeholder="Enter Banner URL" <?php if($params->get('cbox_banner_url')) echo "ENABLED"; else echo "DISABLED"; ?>/>
    			<br/>
    			<i style="color:red">Allowed file types for file upload: <?php echo $file_types; ?></i>			
    		</td>
    	</tr>
    	<tr>
    		<th align="left">
    		<?php echo Flux::message('BLOCK_TIME_LABEL'); ?>				
    		</th>
    		<td>
    			<select name="blocking_hours" id="id_blocking_hours">
    				<?php for($i = 1; $i<=24; $i++){ ?>
    				<option value="<?php echo $i; ?>" <?php if($params->get('blocking_hours')==$i){ echo "SELECTED"; } ?>><?php echo $i; ?></option>
    				<?php } ?>
    			</select>
    			<i>hr(s).</i>
    			<select name="blocking_minutes" id="id_blocking_minutes">
    				<?php for($i = 0; $i<=59; $i++){ ?>
    				<option value="<?php echo $i; ?>" <?php if($params->get('blocking_minutes')==$i){ echo "SELECTED"; } ?>><?php echo $i; ?></option>
    				<?php } ?>
    			</select>
    			<i>min(s).</i>
    		</td>
    	</tr>
    	<tr>
    		<th align="left">
    		<?php echo Flux::message('POINTS_LABEL'); ?>						
    		</th>
    		<td>
    			<input type="text" name="points" id="id_points"  value="<?php echo $params->get('points'); ?>" placeholder="Enter Points" required="required" />
    		</td>
    	</tr>
    	<tr>
    		<td colspan="2" align="right">
    			<input type="reset" value="Clear"/>
    			<input type="submit" name="Add" id="Add" value="Submit"/>
    		</td>
    	</tr>
    </table>
    </form>
    <script type="text/javascript" language="javascript">
    	$('#id_cbox_banner_url').change(function(){
    		var checked = $(this).attr('CHECKED');
    			$('#id_banner_url').attr('DISABLED',!checked);
    			$('#id_banner_upload').attr('DISABLED',!!checked);			
    	});
    </script>

     

    coisas.png

    ok first...

    go to fluxcp/modules/ and remove voteforpoints folder if there is any.
    go to fluxcp/themes/default/ and remove voteforpoints folder if there is any

    this step to makesure that voteforpoints folder only being read from fluxcp/addon/voteforpoints/ folder ONLY

    • MVP 1
  6. Just now, sader1992 said:

    i am not good in web development but let's say it's true

    he can also delete all the variables for that account too

    and also flux wont give the account id to a new account it <<(i don't know what but that tested in every server i made[not sure if flux side or rathena side])

    so even if he didn't delete the variables no one will get them if they made new account cuz they can't get the same id (unless it added in the database manualy)

    yeah its true.. but u will have redundancy of data if u didnt check thoroughly  for any other related data to login table. for sure it should work :)
    im just saying, I didnt recommended that.

  7. 1 minute ago, sader1992 said:

    there is no problem deleting accounts that didn't login even once

    no char or items connected to the account

    login from fluxcp does it count ?
    if any account related database for example voteforpoints, freebies, or any other fluxcp addon?

  8. 1. get your rollback backup.

    2. backup your current database.

    Quote

    the account of 2000111 storage items, inventory and cart tnx

    3.search in storage,cart inventory, inventory ,guild storage, etc that needed only for accountid 2000111 and all charid for accountid 2000111

    4. remove current data accountid 2000111 and replace it with the rollback you needed

  9. 8 minutes ago, Alayne said:

    Hi peoples!

    Being on this for the last two days, I give up. Here's my issue.

    I try to use a 2015+ client, but can't get it to work. I always end up on a "Character info size error. Character info size: 147" error.

    Server side error, when I try to connect, on char_server:

    
         s aid=2000000 has an incorect version=54 in clientinfo. Server compiled for 46

    The issue is that I might have done everything to make it compile under 54, and not 46:

    on packet_db:

    
        packet_db_ver: 54
        packet_keys_use: 54

    with the matching

    
        //2015-10-29aRagexe
        packet_ver: 54
        packet_keys: 0x45B945B9,0x45B945B9,0x45B945B9    // [renniw] [...]

    On clif.h:

    
        MAX_PACKET_VER = 55,

    On mmo.h:

    
    #define PACKETVER 20151029

    I've tried disabling packet obfu, try everything I can try on all the topic here and there, but no way, I still end up on this f***** Server compiled for 46.

    Can anybody give me a clue on what I missed?

     

    First, try to use client 20150916.
    2nd, packerversion = 53 

    packetdb and key also = 53

    as far as I know, latest rathena didnt check version anymore. just make sure you change in your src/config/packets.h your clientdate.

  10. 7 hours ago, Heero12 said:

    Continues the same mistake!

     

    packet_db_ver: 55
    //packet_db_ver: default
    packet_keys_use: default

    =====================================

            <address>127.0.0.1</address>
            <port>6900</port>
            <version>55</version>
            <langtype>1</langtype>

    It's already disabled!

    then try enable it if u didnt know your client is diff with obfus packet or not

    make sure u use client for packet version 55 . what is your clientdate?

×
×
  • Create New...