Gesior 2012 - Account Maker (website) for OTSes

Overview

Gesior2012

Gesior 2012 - Account Maker (website) for OTSes

Version for TFS 1.5 engine with login.php for 12+ client ( https://github.com/otland/forgottenserver/tree/1.4 ).

Tested on PHP 7.0-7.4 and 8.0 with MariaDB.

Account maker SQL queries are not compatible with default config of MySQL/MariaDB. You got to edit MySQL/MariaDB config and add there line:

sql_mode=''

and restart MySQL/MariaDB.

PHP extensions required:

bcmath
curl
dom
gd
json
mbstring
mysql
pdo
xml

Debian/Ubuntu:

sudo apt install php-bcmath php-curl php-dom php-gd php-mbstring php-mysql php-pdo php-xml
sudo apt install php-json

php-json is build-in in PHP 8.0, so you can't install it as extension, it's ok.

Comments
  • createaccount image verification

    createaccount image verification

    For some reason the verification code didn't worked I fixed it by this: if(!defined('INITIALIZED')) exit; swap for session_start();

    and in createaccount.php replace the line for: $main_content .= 'Code: Image Verification is missing, please contact the administrator

    wontfix 
    opened by Pietia10 2
  • Account name size

    Account name size

    in line 22 from pages/accountmanagement.php

    SIZE="10" maxlength="10" to SIZE="32" maxlength="32"

    in db this is size to account name

    bug 
    opened by novasdream 2
  • Blank page but /?subtopic= working fully?

    Blank page but /?subtopic= working fully?

    I would like to ask if anybody has this issue, I thought it could be permission, but in the subtopic area its working normally.

    PRINTS: https://prnt.sc/15r30cs https://prnt.sc/15r3310

    opened by vslash234 1
  • Shows 64 people online, theres noone online?

    Shows 64 people online, theres noone online?

    The error occurs with the new release of the money-duplicate bug, 1.2, site shows 64 online when theres noone online.

    OS Ubuntu Server 14.04 Apache2

    How do I fix this?

    opened by crilleaz 1
  •  namelock

    namelock

    How do i perform namelock on a player via php code? I've already added tab in shopsystem.php for that, but what is the query / code to perform namelock ?

    question 
    opened by olszak94 1
  • Problem z top fragerami

    Problem z top fragerami

    Jest problem z ?subtopic=fraggers w wersji tfs 1.0 Zapytanie do bazy zamiast pokazywać graczy, którzy najwięcej zabili pokazuje graczy, którzy najwięcej razy zgineli.

    bug 
    opened by Maldero 1
  • contenidopago_report.php

    contenidopago_report.php

    /pages/contenidopago_report.php typo error in var at line 121

      $account->setPremiumPoints($account->getPremiumPoints() + $puntos);.
    

    it must be

    $account->setPremiumPoints($account->getPremiumPoints() + $points);

    bug 
    opened by danibrasa 1
  • Rework encryptionTypes, disable serverlist, update load.database.php

    Rework encryptionTypes, disable serverlist, update load.database.php

    Updated code style of load.database.php Added missing new line at EOF in some files Disabled private serverlist.com ~

    Fixed the warning about "passwordType" with TFS 1.1+ Rewrote the function insted to see if we have a config value for it, if we don't then it will try and find it in the website config (and for compat reason it will by default go to SHA1 if neither exists).

    opened by WibbenZ 0
  • Undefined variable on first loadup after completed setup

    Undefined variable on first loadup after completed setup

    Running TFS 1.5 (12.87) - Ubuntu 22.04 - Docker - PHP FPM 7.4.30 - NGINX 1.22 Stable Go through the entire setup without an hitch, everything seems to load, but get a warning on the page with the following:

    `Warning: Undefined variable $newsTicker in /code/layouts/tibiacom/layout.php on line 387
    Warning: Undefined variable $featuredArticle in /code/layouts/tibiacom/layout.php on line 389`
    

    Going through it, seems to be a few more places it fails loading different variables and arrays.. hmm

    running nginx latest and php 8.0 fpm with mysql latest database

    I enabled debugging for database, but getting no errors on the SQL queries that it does to fetch information, such as players online etc, but still getting things like:

    Warning: Undefined variable $account_email_change in /code/pages/accountmanagement.php on line 66
    Warning: Undefined variable $player_number_counter in /code/pages/accountmanagement.php on line 75
    

    When I try and create a guild on php 8.0 I get this:

    Warning: Undefined array key "guild" in /code/pages/guilds.php on line 949
    
    Warning: Undefined array key "name" in /code/pages/guilds.php on line 950
    
    Warning: Undefined array key "todo" in /code/pages/guilds.php on line 951
    
    Warning: Undefined variable $array_of_player_nig in /code/pages/guilds.php on line 967
    
    Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /code/pages/guilds.php:967 Stack trace: #0 /code/system/load.page.php(7): include() #1 /code/index.php(41): include_once('/code/system/lo...') #2 {main} thrown in /code/pages/guilds.php on line 967
    

    When I try and create a guild on php 7.4 I get this (yes I've changed the base bath of my code thinking it was something like that, that caused issues, thats why path differs from above):

    Notice: Undefined index: guild in /var/www/pages/guilds.php on line 949
    
    Notice: Undefined index: name in /var/www/pages/guilds.php on line 950
    
    Notice: Undefined index: todo in /var/www/pages/guilds.php on line 951
    
    Notice: Undefined variable: array_of_player_nig in /var/www/pages/guilds.php on line 967
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/pages/guilds.php on line 967
    
    Notice: Undefined variable: todo in /var/www/pages/guilds.php on line 1019
    
    Notice: Undefined variable: array_of_player_nig in /var/www/pages/guilds.php on line 1052
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/pages/guilds.php on line 1052
    

    I have all the php extensions installed, is there a specific version requirement for the extensions?

    opened by Slipehr 0
  • Clean code in install

    Clean code in install

    Hello Gesior could simplify this code: https://github.com/gesior/Gesior2012/blob/TFS-1.0/install.php#L18-L52

    that is why: include_once('./system/load.init.php');

    https://github.com/gesior/Gesior2012/blob/TFS-1.0/install.php#L145-L179 that is why: include_once('./system/load.database.php');

    among other things ..

    bug 
    opened by luanluciano93 1
Owner
Jerzy Skalski
Jerzy Skalski
Autoload maker

Autoload maker Simply run the code of the file autoloadmaker.php, an autoload.php will be create in the same directory with the file autoloadmaker.php

null 1 Nov 27, 2021
This package is used to validate the telephone numbers of the countries taken into account. It also makes it possible to verify that a number is indeed a number of an operator X

phone-number-checker This package is used to validate the telephone numbers of the countries taken into account. It also makes it possible to verify t

faso-dev 4 Feb 7, 2022
Magento extension which makes it impossible for a customer to log in until the account has been activated by the administrator.

This Magento 1 extension is orphaned, unsupported and no longer maintained. If you use it, you are effectively adopting the code for your own project.

Vinai Kopp 120 Oct 10, 2022
A challenge to develop frontend-backend forms and account creating.

Symfony + Vue (Back/Front) Helped and assisted by Vanessa and Paulo. This project have two sides, the back-end(Symfony) and the front-end(Vue.js) for

Rickelme Dias 1 Feb 10, 2022
MOFHY Lite is a priceless MyOwnFreeHost Client Area for account management, ticket support system and a free ssl service

MOFHY Lite is a priceless MyOwnFreeHost Client Area for account management, ticket support system and a free ssl service. It has easy to use features much like the WHMCS Digit UI interface.

MOFHY Developers 1 Oct 21, 2022
Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.

Laravel Blog Have you worked with Wordpress? Developers call this package wordpress-like laravel blog. Give our package a Star to support us ⭐ ?? Inst

Binshops 279 Dec 28, 2022
The Assure Alliance support website. This website is based on Questions2Answers and is a forum for support using Biblical Tools

The Assure Alliance support website. This website is based on Questions2Answers and is a forum for support using Biblical Tools

United Bible Societies Institute for Computer Assisted Publishing 3 Jul 29, 2022
WordPlate is a wrapper around WordPress. It makes developers life easier. It is just like building any other WordPress website with themes and plugins. Just with sprinkles on top.

WordPlate is simply a wrapper around WordPress. It makes developers life easier. It is just like building any other WordPress website with themes and plugins. Just with sprinkles on top.

WordPlate 1.7k Dec 24, 2022
A Pocketmine-MP (PMMP) leaderboard plugin that shows player statistics on a website.

WebLeaderBoard A Pocketmine-MP (PMMP) leaderboard plugin that shows all sorts of statistics on a website. Setup Guide To start using the plugin, downl

ItsMax123 6 Apr 5, 2022
this is a simple website about news and it has some features

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

a14z 2 Dec 11, 2022
The simplest way to create a dynamic sitemap for your self-coded website which you have made by using PHP/HTML/CSS/Js etc... Scripts.

Sitemap_index.xml The simplest way to create a dynamic sitemap for your self-coded website which you have made by using PHP/HTML/CSS/Js etc... Scripts

Tanish Raj 1 Oct 16, 2021
Este website foi feito com o intuito de colocar em prática os conhecimentos adquiridos por mim ao longo de meus estudos na área da programação.

E-commerceGames Sumário Sobre Pré-requisitos Rodando a aplicação Galeria Notas ?? Sobre Este website foi feito com o intuito de colocar em prática os

Roger da SIlva Gomes 6 Jul 20, 2022
Music website developed as a final group project for our Webpage Development class.

double-drummer Music listening website developed as final group project for our Webpage Development course. All parts that disclosed any information r

darwin 1 Dec 8, 2021
Add a logger to your Kirby3 website

A Website logger for Kirby3 Commercial Usage This plugin is free but if you use it in a commercial project please consider to buy me a ?? Installation

Michael Scheurich 13 Nov 27, 2022
Import your Foursquare/Swarm checkins to your Micropub-enabled website

Swarm Checkins Import Import your Foursquare/Swarm checkins to your Micropub-enabled website Installation You'll need PHP and Composer to install this

Aaron Parecki 20 Dec 24, 2022
🌏 Webnux 🌏 , a videos streaming website where you can watch what you want when you want.

?? WEBNUX ?? Welcome to ?? Webnux ?? , a videos streaming website where you can watch what you want when you want. ☀️ ☀️ OBJECTIFS ☀️ ☀️ - A sessi

FrancisNtahimpera 1 Dec 3, 2021
An open source tool that lets you create a SaaS website from docker images in 10 minutes.

简体中文 Screenshots for members ( who subscribe the plan ) for admin ⚠️ This document was translated into English by deepl and can be improved by PR An o

Easy 669 Jan 5, 2023
Website with NASA-API implementation

AstroNet Welcome to AstroNet! This service will allow you to search for asteroids, with the ability see to which ones are potentially hazardous, analy

Patrick Welsh 0 Feb 14, 2022