Jump to content

iCORE

Members
  • Content Count

    393
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by iCORE

  1. the previous release of this system supprt (custom.conf) but i remove it because its not that functioning at all so to lessen the git patch i just remove it.
  2. is it possible to have an automatic /lightmap on certain map?
  3. iCORE

    [help] Browedit

    i try to add Sun and Ambiance but the shadows are too long can you im using 200x200 map
  4. newbiew question how to remove this black texture on each textures.
  5. the tittle it self i need a php or code on how to put auto play music on my flux and if its possible it does not stop upon switching links.
  6. when you install your flux it will automatically update your cp_tables ( delete all cp_ starting name on your my sql )
  7. import your logs.sql in your mysql
  8. for me just delete and import the flux filles again the you are ready to go . edit your application.php and server.php (error.php) <---- just incase
  9. delete all cp_tables on your mysql and install flux again
  10. <?phpclass Cashpoints { public $server; public $cashRecords = array(); public $pointsType = '#CASHPOINTS'; public function __construct(Flux_Athena $athenaServer, $kafraPoints=false) { $this->server = $athenaServer; if ($kafraPoints) { $this->pointsType = '#KAFRAPOINTS'; } } public function getCash($accountID) { $this->initCash($accountID); $sql = "SELECT value FROM {$this->server->charMapDatabase}.global_reg_value "; $sql .= "WHERE `str` = ? AND account_id = ? LIMIT 1"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); return (int)$sth->fetch()->value; } public function setCash($accountID, $amount) { $this->initCash($accountID); $sql = "UPDATE {$this->server->charMapDatabase}.global_reg_value "; $sql .= "SET value = ? WHERE `str` = ? AND account_id = ?"; $sth = $this->server->connection->getStatement($sql); return $sth->execute(array((int)$amount, $this->pointsType, $accountID)); } protected function initCash($accountID) { if (!array_key_exists($accountID, $this->cashRecords)) { $sql = "SELECT account_id FROM {$this->server->charMapDatabase}.global_reg_value "; $sql .= "WHERE `str` = ? AND account_id = ? LIMIT 1"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); if ($sth->fetch()) { // Has prior cashpoints record. $this->cashRecords[$accountID] = true; } else { // Does not have prior cash points record. $this->cashRecords[$accountID] = false; } } // Initialize cash points record if it doesn't already exist. if (!$this->cashRecords[$accountID]) { $sql = "INSERT INTO {$this->server->charMapDatabase}.global_reg_value "; $sql .= "(`str`, value, type, account_id, char_id) "; $sql .= "VALUES (?, 0, 2, ?, 0)"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); } }}?> how to make this work on Hercules
  11. hi i want to request a vote = cash converter
  12. download full client and i recommend nickyzai full client and find a exe that you want to use search on google
  13. for the client you can visit Here * i recommend that you use full 20131223 by oissis -LINK for the full data folder visit Here * it includes clientinfo,xml just post your problem and we'll try to solve it
  14. // Global SQL settings// overridden by local settings when the hostname is defined there// (currently only the login-server reads/obeys these settings)sql.db_hostname: Your IPsql.db_port: 3306sql.db_username: Workbench Usernamesql.db_password: Workbench Passwordsql.db_database: Database "Main.sql" Namesql.codepage:// MySQL Character SQL serverchar_server_ip: Your IPchar_server_port: 3306char_server_id: Workbench Usernamechar_server_pw: Workbench Passwordchar_server_db: Database "Main.sql" Name// MySQL Map SQL Servermap_server_ip: Your IPmap_server_port: 3306map_server_id: Workbench Usernamemap_server_pw: Workbench Passwordmap_server_db: Database "Main.sql" Name// MySQL Log SQL Databaselog_db_ip: Your IPlog_db_port: 3306log_db_id: Workbench Usernamelog_db_pw: Workbench Passwordlog_db_db: Database "Logs.sql" Namelog_codepage:log_login_db: loginlog check your inter-server.conf and make sure you import your main.sql and logs.sql
  15. you compile on debug mode change debug mode on release then compile again
  16. Old GCC(v4.3) requires around 1.5 GB ram,While new GCC(v4.8) requires around 300 mb ram, Follow the method Yoh Asakura mentioned, it works for upgrading GCC on centos/RHEL OS. add me on skype please junjun.ocampo
  17. gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. make[1]: *** [../../plugins/HPMHooking_map.so] Error 1 make[1]: Leaving directory `/root/Hercules/src/plugins' make: *** [plugins] Error 2
  18. if you are a non dev this is yes BUT DUHH! im using this for almost 5 months and i dont see any problem this hosting is 95% lagfree even when you have 512ram, 5% is the maintenance they do monthly maintenance to recover from lag issues.
×
×
  • Create New...

Important Information

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