Jump to content

Recommended Posts

  • 2 weeks later...
Posted

An Error Was Encountered

The Encrypt library requires the Mcrypt extension.

    'base_url'              => 'http://127.0.0.1/cora/'
    'encrypt_key'           => 'eMZxG9Mpjin05MBYje95gft0cQaGrb',
    'dev_mode'              => true,
    'timezone'              => 'Asia/Manila',
Posted

Sir Takari i got a problem the peak players and online players are not showing the real online in the server .

 

i think its not refreshing every second

  • 2 weeks later...
Posted

is the guild_emblem working on your site? when i tested it, it cant convert the emblem data to bmp so i have to fix it manually.

 

the original from your git in application/controllers/community.php
 

public function guild_emblem($gid) {
        $this->load->model('mcommunity');
        $ginfo = $this->mcommunity->guild_info(array('guild_id'=>$gid));
        $emblem = $ginfo[0]->emblem_data;
        $emblem = @gzuncompress(pack('H*',$emblem));
        file_put_contents('emblem.bmp',$emblem);
        header('Content-type: image/png');
        $im = imagecreatefrombmp('emblem.bmp');
        $purple = imagecolorallocate($im, 255, 0, 255);
        imagecolortransparent($im,$purple);
        imagepng($im);
    }

into

 

public function guild_emblem($gid) {
        $this->load->model('mcommunity');
        $ginfo = $this->mcommunity->guild_info(array('guild_id'=>$gid));
        $emblem = $ginfo[0]->emblem_data;
        $emblem = @gzuncompress(pack('H*',$emblem));
        header('Content-type: image/png');
        $im = imagecreatefrombmpstring($emblem);
        $purple = imagecolorallocate($im, 255, 0, 255);
        imagecolortransparent($im,$purple);
        imagepng($im);
    }

by calling imagecreatefrombmpstring from the ROChargen Bmp.php and got it work.

  • 2 weeks later...
Posted (edited)

also tested the donate function with sandbox paypal account, it seems it dont add points after successful donation on corresponding points I added.

 

update: it now works, i just need to add IPN url in both sandbox and actual account of my account

Edited by EzioYaoditore
  • Upvote 1
  • 2 weeks later...
Posted

Hi everyone. I'm sorry for being inactive for a while, I've been really busy with work.

On the bright side, we're planning to restart development soon. We might need to find a

better way to communicate though, for those who wants to contribute ideas and all :P

  • Upvote 1
Posted

Hmm.. Using the GitHub Issues?

Github is ok nana, thanks for asking. Just haven't updated it all lately (sorry) :P

 

But like I said, I will be updating it soon. In fact, I have some things that you guys might want to share your thoughts with:

  • WYSIWYG Editor [ For Posts & Pages ] to be Changed. 
    • The editor will be changed from CKEditor to Froala for responsive compatibility.
  • Multi-Server Support to be Added. It will work as follows:
    • User registers an account through the CMS.
    • User logs in and add a "game" [ which will be the servers ] to his account.
  • Asynchronous Processes to be implemented.
    • Fetching posts, pages, widgets, etc. will be asynchronous to decrease page load time.
  • Character Management - Reset Character Gears to be Added.
    • Disrobes the character of equipped gears to escape gravity error due to missing sprites.
  • Character Management - Change Sex to be Updated.
    • Changing sex will also reset character gears in case a character is wearing gender-locked equipment.
  • Nested Navigation to be Added.
    • To make adding sub menu possible for the navigation.
  • Slug URL to be implemented.
    • Slug URL option will  be added for more user-friendly URL.

 

There are more ideas to be discussed, but these are the only ones I can share with you guys for now. What do you guys think?

I'd love to hear your take on these changes  ^_^

Posted

Hey everyone, I've formed a new dev team for CORA. Let's welcome the new members of the dev team: nanakiwurtz and Klutz.

We'll be working hard to present you the next, bigger, and better version of CORA. Wish us luck! ^^

Posted

I really love this forums, can you guys enable a forums engine in your cp? that would really be a freaking great addon!

Well that would be something we need to discuss first, I'm not quite sure yet, but I also think that would be great too :P

 

Your site is it down?

Hey Zell, sorry for that. I've been having trouble getting a new host. But anyway, we finally got one now and I'm propagating the DNS now. I might need some time to bring the contents back up though xP

Posted

cool, it would really be a great help. or you can make an addon that enables you to make one login for IPboard and ur cp <3 register on ur cp automatically registers a forum account too ;)

Posted

 

I really love this forums, can you guys enable a forums engine in your cp? that would really be a freaking great addon!

Well that would be something we need to discuss first, I'm not quite sure yet, but I also think that would be great too :P

 

Your site is it down?

Hey Zell, sorry for that. I've been having trouble getting a new host. But anyway, we finally got one now and I'm propagating the DNS now. I might need some time to bring the contents back up though xP

 

Site is now back up although some contents are missing. I'll be adding them later :P

 

cool, it would really be a great help. or you can make an addon that enables you to make one login for IPboard and ur cp <3 register on ur cp automatically registers a forum account too ;)

There could actually be a possibility for IPB :P

  • 2 weeks later...
Posted

This is what my user_counter.txt looks like. 

 

Problem:

For example, I have 5 players only but the webpage only says I got 1 online player online.

Same goes for Players Peak, it says 3 for Peak but I already reached 6 players.

- script user_counter -1,{
OnPCLoginEvent:
query_sql("SELECT value FROM mapreg WHERE varname='userOnline'",.@lastOnline);
if(getarraysize(.@lastOnline) == 0) {
query_sql("INSERT INTO mapreg(varname,value) VALUE('userOnline',1)");
set .@userOnline,1;
} else {
query_sql("UPDATE mapreg SET value=value+1 WHERE varname='userOnline'");
set .@userOnline,.@lastOnline[0]+1;
}
query_sql("SELECT value FROM mapreg WHERE varname='userPeak'",.@userPeak);
if((.@userOnline > .@userPeak[0]) || (getarraysize(.@userPeak) == 0)) {
if(getarraysize(.@userPeak) == 0)
.@newPeak$ = "INSERT INTO mapreg(varname,value) VALUE('userPeak',"+.@userOnline+")";
else
.@newPeak$ = "UPDATE mapreg SET value="+.@userOnline+" WHERE varname='userPeak'";
query_sql(.@newPeak$);
.@peak = .@userOnline;
} else {
.@peak = .@userPeak[0];
}
end;
OnPCLogoutEvent:
query_sql("SELECT value FROM mapreg WHERE varname='userOnline'",.@lastOnlineB);
if(.@lastOnlineB[0] > 1)
query_sql("UPDATE mapreg SET value=value-1 WHERE varname='userOnline'");
else
query_sql("DELETE FROM mapreg WHERE varname='userOnline'");
end;
}
Posted

 

This is what my user_counter.txt looks like. 

 

Problem:

For example, I have 5 players only but the webpage only says I got 1 online player online.

Same goes for Players Peak, it says 3 for Peak but I already reached 6 players.

- script user_counter -1,{
OnPCLoginEvent:
query_sql("SELECT value FROM mapreg WHERE varname='userOnline'",.@lastOnline);
if(getarraysize(.@lastOnline) == 0) {
query_sql("INSERT INTO mapreg(varname,value) VALUE('userOnline',1)");
set .@userOnline,1;
} else {
query_sql("UPDATE mapreg SET value=value+1 WHERE varname='userOnline'");
set .@userOnline,.@lastOnline[0]+1;
}
query_sql("SELECT value FROM mapreg WHERE varname='userPeak'",.@userPeak);
if((.@userOnline > .@userPeak[0]) || (getarraysize(.@userPeak) == 0)) {
if(getarraysize(.@userPeak) == 0)
.@newPeak$ = "INSERT INTO mapreg(varname,value) VALUE('userPeak',"+.@userOnline+")";
else
.@newPeak$ = "UPDATE mapreg SET value="+.@userOnline+" WHERE varname='userPeak'";
query_sql(.@newPeak$);
.@peak = .@userOnline;
} else {
.@peak = .@userPeak[0];
}
end;
OnPCLogoutEvent:
query_sql("SELECT value FROM mapreg WHERE varname='userOnline'",.@lastOnlineB);
if(.@lastOnlineB[0] > 1)
query_sql("UPDATE mapreg SET value=value-1 WHERE varname='userOnline'");
else
query_sql("DELETE FROM mapreg WHERE varname='userOnline'");
end;
}

 

Hi, thanks for the report!

We are aware of this problem. Sadly, we are currently overhauling cora so it would take long before the next version comes out.

The good news is that there will be many more things aside from this fix that is included in the next version. Hope you can stick around 'til then!

  • Upvote 1
Posted

 

hope u can release a new version before my server opens this 28th :D

Sadly I think it will take longer than that  /hmm

 

well, we do not know ;) mayve itll be released earlier then we expected  /ok

  • 3 weeks later...
  • 1 month later...
Posted

 

Yes my DB usernames is moonlight...

 

I went back to change everything and again the same error

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 346

Mysql version ( VPS ):

Variable_name           | Value                   |
+-------------------------+-------------------------+
| innodb_version          | 5.5.41                  |
| protocol_version        | 10                      |
| slave_type_conversions  |                         |
| version                 | 5.5.41-0ubuntu0.14.10.1 |
| version_comment         | (Ubuntu)                |
| version_compile_machine | x86_64                  |
| version_compile_os      | debian-linux-gnu  

wondering how was this solved? i am getting this error for the loader right now, anybody knows?

  • 4 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...