• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Znote AAC 1.4 - [TFS 0.2.13+] & [TFS 0.3.6+/0.4]

like add image to guild? :p

Sounds scary, not sure how to make this method secure(You have to be very careful about letting users upload contents to server). But maybe make an option to select guild images from the image server.
 
Sounds scary, not sure how to make this method secure(You have to be very careful about letting users upload contents to server). But maybe make an option to select guild images from the image server.

Dont upload anything to the server, just make people use imgland.net or simulair and then redirect the link they get? ;o
 
Dont upload anything to the server, just make people use imgland.net or simulair and then redirect the link they get? ;o

Hmm, forcing imgland.net urls sounds like a good idea. :D
 
Do you have to add any script in the server to get the Shop system to work :p?

Yes, there is a talkaction script to receive donation items.

See the LUA folder on Znote AAC.
 
Znote AAC 1.4 Teaser:
gallery.png

killers.png

tibiacom.jpg
 
wow the image system
any player can upload image then the god must aprrove the image then show in web site?
 
wow the image system
any player can upload image then the god must aprrove the image then show in web site?

Correct. :) I though about the "classic gallery system", and though that it was pretty crap, almost nobody actually used it, and almost never new images.
So then I thought "why not make it a community project?", so everybody on an OT server can participate making awesome gallery. :D

And yeah, player post their pics on website, GM logs in and approve image (so GM can verify its not advertisement or insult or bot images etc), and then the image will be displayed to public (everybody who visits gallery page), with title, image and a describtion. :D

I might also make similar system but with youtube videos as well.
 
excellent,
Ow you have the layout of tibia rl: c post it:D haha
Very good as always Znote, greetings: D
 
Correct. :) I though about the "classic gallery system", and though that it was pretty crap, almost nobody actually used it, and almost never new images.
So then I thought "why not make it a community project?", so everybody on an OT server can participate making awesome gallery. :D

And yeah, player post their pics on website, GM logs in and approve image (so GM can verify its not advertisement or insult or bot images etc), and then the image will be displayed to public (everybody who visits gallery page), with title, image and a describtion. :D

I might also make similar system but with youtube videos as well.

very awesome but that mean i delete my gallery on jquery haha your idea is better so a release a new layout soon but firts i delete the gallery then :p

- - - Updated - - -

i cant edit sorry but maybe can add in the next update something like comments in news by the players

- - - Updated - - -

how i edit paygol? in this part?
Code:
// check that the request comes from PayGol server
	if(!in_array($_SERVER['REMOTE_ADDR'],
	  array('109.70.3.48', '109.70.3.146', '109.70.3.58'))) {
	  header("HTTP/1.0 403 Forbidden");
	  die("Error: Unknown IP");
	}

i change this 109.70.3.48 for my ip? or just need add the files in folder lua?
 
i cant edit sorry but maybe can add in the next update something like comments in news by the players
Maybe later if I decide to create a forum system.

how i edit paygol? in this part?
Code:
// check that the request comes from PayGol server
	if(!in_array($_SERVER['REMOTE_ADDR'],
	  array('109.70.3.48', '109.70.3.146', '109.70.3.58'))) {
	  header("HTTP/1.0 403 Forbidden");
	  die("Error: Unknown IP");
	}

i change this 109.70.3.48 for my ip? or just need add the files in folder lua?
Don't touch that file(That file only communicates with paygol), only edit values in config.php
PHP:
	//////////////////
	/// PAYGOL SMS ///
	//////////////////
	// !!! Paygol takes 60%~ of the money, and send aprox 40% to your paypal.
	// You can configure paygol to send each month, then they will send money to you 1 month after recieving 50+ eur.
	$config['paygol'] = array(
		'enabled' => true,
		'serviceID' => 40339,// Service ID from paygol.com
		'currency' => 'EUR',
		'price' => 5,
		'points' => 25, // Remember to write same details in paygol.com!
		'name' => '25 points',
		'returnURL' => "http://".$_SERVER['HTTP_HOST']."/success.php",
		'cancelURL' => "http://".$_SERVER['HTTP_HOST']."/failed.php",
		'ipnURL' => "http://".$_SERVER['HTTP_HOST']."/paygol_ipn.php",
	);
 
i have this error when i say !shop

Code:
[Error - TalkAction Interface] 
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:onSay
[16/11/2012 4:56:16] Description: 
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: attempt to compare boolean with number
[16/11/2012 4:56:16] stack traceback:
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: in function <data/talkactions/scripts/znoteshop.lua:2>
 
i have this error when i say !shop

Code:
[Error - TalkAction Interface] 
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:onSay
[16/11/2012 4:56:16] Description: 
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: attempt to compare boolean with number
[16/11/2012 4:56:16] stack traceback:
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: in function <data/talkactions/scripts/znoteshop.lua:2>

In line 27 in the LUA script you see
Lua:
getItemWeight(q_itemid, q_count)

Change it to
Lua:
getItemWeightById(q_itemid, q_count)

or the opposite~
 
Hey Znote,
I checked the svn of znoteAAC and thought of a potential solution to the storagevalue issue just randomly (posted 24 days ago.)
Perhaps you could use globalevents onthink system that queries the database for new storagevalues that need to be set (sent by the website), then checks if the playersname is online and if it is uses the lua function rather then a query or something similar.
 
Back
Top