Recent Posts

Pages: [1] 2 3 ... 10
1
Nightborn's Modules / Marriage 1.1 Error
« Last post by Patti on November 07, 2017, 08:43:15 pm »
Beim installieren der Modul erscheint folgende Error :


Code: [Select]
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=INNODB' at line 6
CREATE TABLE marriage_flirtpoints (
initiator int(11) unsigned NOT NULL ,
receiver int(11) unsigned NOT NULL ,
flirtpoints int(11) unsigned NOT NULL ,
PRIMARY KEY (initiator),
KEY receiver (receiver)) Type=INNODB
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=INNODB' at line 11
CREATE TABLE marriage_proposals (
initiator int(11) unsigned NOT NULL ,
proposed_to int(11) unsigned NOT NULL ,
ring int(4) unsigned NOT NULL default '0' ,
propose text NOT NULL ,
response text NOT NULL ,
accepted int(2) unsigned NOT NULL ,
date datetime NOT NULL default '0000-00-00 00:00:00' ,
responsedate datetime NOT NULL default '0000-00-00 00:00:00' ,
PRIMARY KEY (initiator,proposed_to,date),
KEY receiver (date)) Type=INNODB
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=INNODB' at line 13
CREATE TABLE marriage_actions (
id int(11) unsigned NOT NULL auto_increment,
initiator int(11) unsigned NOT NULL ,
receiver int(11) unsigned NOT NULL ,
message varchar(4000) NOT NULL ,
response varchar(4000) NOT NULL ,
successful tinyint(4) NOT NULL ,
date datetime NOT NULL default '0000-00-00 00:00:00' ,
responsedate datetime NOT NULL default '0000-00-00 00:00:00' ,
PRIMARY KEY (id),
KEY initiator (initiator),
KEY receiver (receiver),
KEY successful (successful)) Type=INNODB
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=INNODB' at line 3
CREATE TABLE marriage_optout (
acctid int(11) unsigned NOT NULL ,
PRIMARY KEY (acctid)) Type=INNODB
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=INNODB' at line 6
CREATE TABLE marriage_ignorelist (
player int(11) unsigned NOT NULL ,
target int(11) unsigned NOT NULL ,
reason varchar(1000) NOT NULL ,
date datetime NOT NULL default '0000-00-00 00:00:00' ,
PRIMARY KEY (player,target)) Type=INNODB
2
Nightborn's Modules / Re: Translation Wizard
« Last post by Patti on November 05, 2017, 07:58:08 pm »
3
General Discussions / Game Project [K Project]
« Last post by Jas0n on January 24, 2017, 11:13:55 am »
Hello!~  ;D

I'm currently creating a nB+ Core based rpg game.
It's called K Project based on the anime K Projec.

can you guys help me finish this project unfortunately I don't got module making talent
here's some idea

there are only 7 Clans in K Project

Silver Clan, Gold Clan, Red Clan, Blue Clan, Green Clan, Gray Clan, Colorless Clan
 
every clan has a king they are the main clan for the people can make their own clan but needs to be other color and their powers are based on their clan like in our game we call it Race so PM me please if you wanna help and drop me an email jason.z3r0t@gmail.com Thanks  ;D
4
Announcements / New Release & Code Maintenance now on Github
« Last post by Nightborn on January 22, 2017, 10:08:24 pm »
I've decided to stop providing releases and daily snapshots in this outdated fashion ;)

Currently I am more maintaining the +nb core, not really enhancing it (help / branches welcome).

All work has been migrated here: https://github.com/NB-Core/lotgd
5
Technical / 1.2.5 +nb ready for php7?
« Last post by Patti on July 09, 2016, 08:37:25 am »
Hello ist 1.2.5nb ready for PHP version 7 ?
6
Bugreports / Re: Battle.php ....again
« Last post by ShadowRaven on February 28, 2016, 10:16:42 pm »
I fix it.

Files to replace are attached below
the files are:
lib/extended-battle.php
lib/battle-skills
battle.php

Make sure to pay attention to file structure when uploading

Edit:
For some reason, it cant find the upload path for the attachment, so you can download the zip here:

Battle fix
7
Bugreports / Battle.php ....again
« Last post by ShadowRaven on February 28, 2016, 05:01:09 am »
Hi! Don't know if you still come here, but I decided to get back into this and installed your 1.2.5 version. Mostly working great, except fighting. when seeking I get this:

Fatal error: Call-time pass-by-reference has been removed in /..../.../.../battle.php on line 209

server is running php 5.5.32-pl0-gentoo

edit: Found at https://www.mikemackintosh.com/php-fatal-error-call-time-pass-by-reference-has-been-removed-in/

"Starting in PHP 5.3.0, a lot of people began having issues with code written for previous versions. The reason for this is because a feature known as call-time pass-by-reference was deprecated. For the sake of consistency, the ability to add the reference symbol (&) to a function call (myFunc( &$a )) was deprecated.

    There is no reference sign on a function call - only on function definitions. Function definitions alone are enough to correctly pass the argument by reference. As of PHP 5.3.0, you will get a warning saying that call-time pass-by-reference is deprecated when you use & in foo(&$a);.

When you work with a large code-base, and you required the reference to be passed at the function call level, your resulting variable will be skewed if you don't reference the variable on call. By moving the reference notation to the function definition, you remove the possibility of user error when calling your function, ensuring the reference is passed every time the function is called.

Examples

Notice the difference as to where the reference (&) is placed.
Good
Code: [Select]
// PHP 5.3 and newer
function myFunc( &$arg ) {
    // do something
}

myFunc( $var );

Bad
Code: [Select]
// Pre-PHP 5.3
function myFunc($arg) {
    // do something
}
myFunc( &$var );
"

I am just not sure where the actual function is to fix it
8
Announcements / Lotgd 1.2.5. +nb Final
« Last post by Nightborn on April 17, 2014, 08:34:34 pm »
This one is final now.

You should change to it -> the paypal settings are working there and payments get processed.

Paypal did some changes.

Also some minor fixed stuff.

An 80% implemented ajax chat + more is also there.
9
Announcements / Re: Paypal Changes (affecting all versions)
« Last post by Nightborn on July 23, 2013, 10:18:27 pm »
The Connection:close does not work... it will not generate a mail.

I think it works now, but will still check that double.

And: xajax seems to produce high output in certain cases, I have presently updated it to the last (but 1 year old version).
10
Announcements / Paypal Changes (affecting all versions)
« Last post by Nightborn on July 17, 2013, 05:39:36 am »
Paypal will use a slightly different format to validate payments (i.e. your check to hand out DP)

Code: [Select]
PHP
// post back to PayPal system to validate $header="POST /cgi-bin/webscr HTTP/1.1\r\n"; $header .="Content-Type: application/x-www-form-urlencoded\r\n";
$header .="Host: www.paypal.com\r\n";
$header .="Connection: close\r\n\r\n";

This will be in 1.2.5 which will be released once I verify it works.

Pages: [1] 2 3 ... 10