Jump to content


Photo

Web Vending Database (Standalone and FluxCP Addon)

Skill vend fluxcp

  • Please log in to reply
73 replies to this topic

#1 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 25 August 2013 - 12:48 PM

Source inserting shop info into database.
[font="'Helvetica Neue', Arial, Verdana, sans-serif;"]Few source lines and a little bit of magic php + js[/font]
Decorated with new Twitter Bootstrap
 
Remake of this http://www.eathena.w...howtopic=255406  /oops 
 
Installation

Spoiler

Screenshots

Spoiler

Main page

 

 

Map position tooltip

For map showing need *.gat files

Approximate position, accurate display at map could not to achieve :(

 

And Search

 

 

Item images very old, you need to add the new items

 

 

FluxCP Screens

Spoiler

 
Demo
FluxCP Demo
 
Sources

 

 

My src versions: Hercules SRC Patch + web Standalone or FluxCP

 

Yommy src versions: Standalone or FluxCP

 

[NEW 04.20.14Hercules src version: FluxCP

 

Sources is absolutely free, but if you want you can do donation


Edited by Sanasol, 04 March 2016 - 09:49 AM.


#2 evilpuncker

evilpuncker

    The Suggester

  • Community Contributors
  • 2121 posts
  • Locationbr br hue hue

Posted 25 August 2013 - 02:50 PM

please make it compatible with hercules :) (for newbies)


before asking for help, click here

some people that I admire:

Ai4rei (tools and client stuff) • Aeomin (the awesome thor patcher) • AnnieRuru (very helpful with script and source stuff)

Neo (N.E.M.O... do I need to say more?) • KeyWord (roBrowser <3) • k3dt (clients and clients) • Tokeiburu (awesome tools)

Dastgir (lua stuff) • Yommy • Ind • Haru • malufett

 

:ok:    and everyone that contributed in any way to the *Athena community in general (emulator, releases, support etc)  :no1: 


#3 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 25 August 2013 - 03:13 PM

did you try with hercules? i think it must work



#4 Dramosith

Dramosith

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 25 August 2013 - 04:15 PM

Sanasol, i think you need read this topic hercules too
 
http://herc.ws/board...ase/?hl=vending
 
And idk if those code is create by all you?
 
i just saw
 
[add-onVending Zone by KarLaeda 


Edited by Mysterious, 03 August 2016 - 12:15 AM.


#5 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 25 August 2013 - 04:51 PM

Patch for Hercules ready :)

 

https://github.com/S...es_source.patch



#6 Mysterious

Mysterious

    Advanced Member

  • Administrators
  • 3635 posts
  • LocationProntera ;3
  • Github:Mystery

Posted 25 August 2013 - 07:31 PM

Wow…. very awesome and kind of you to release such a nice feature!


http://upaste.me a paste site with Athena syntax!
Now with the ability to test your athena pastes!


#7 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 25 August 2013 - 08:22 PM

Sanasol, i think you need read this topic hercules too

 

http://herc.ws/board...ase/?hl=vending

 

And idk if those code is create by all you?

 

i just saw

 

[font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"][[/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);color:#0000FF;"]add-on[/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"]] [/font]Vending Zone[font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"] by [/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);color:#008000;"]KarLaeda[/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"] [/font]

 

it absolutely other addon

 

this is all my code, except .gat read class



#8 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 26 August 2013 - 12:15 AM

Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 21Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 21Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 22Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 22Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 21Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 21Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 22Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 22Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 21Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 21Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 22Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 22

 

this appears when trying to vend named item.

 

 

@edit

 

typo: line 13 of config.php

 

$refine = array(0 =>"-", "+1", "+2", "+3", "+4", "+5", "+5", "+6", "+7","+8","+9","+10");

 

I think it should be:

 

$refine = array(0 =>"-", "+1", "+2", "+3", "+4", "+5", "+6", "+7","+8","+9","+10");

 

@TS

Good job :)


Edited by quesoph, 26 August 2013 - 12:27 AM.


#9 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 26 August 2013 - 01:08 AM

Oops typo ;)

 

 

Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 21Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 21Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 22Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 22 

 

 

That means "item"(card id from slot) not found, need add some check


Edited by Sanasol, 26 August 2013 - 01:11 AM.


#10 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 26 August 2013 - 11:14 AM

Fix for named item
Spoiler

 
Fix require paths
Fix refine array ;)
 
Commit: https://github.com/S...4882523b64a91cf

#11 Dramosith

Dramosith

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 26 August 2013 - 01:48 PM


Sanasol, i think you need read this topic hercules too

 

http://herc.ws/board...ase/?hl=vending

 

And idk if those code is create by all you?

 

i just saw

 

[font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"][[/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);color:#0000FF;"]add-on[/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"]] [/font]Vending Zone[font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"] by [/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);color:#008000;"]KarLaeda[/font][font="Arial, Verdana, Tahoma, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif;font-size:13px;background-color:rgb(239,241,243);"] [/font]

 

it absolutely other addon

 

this is all my code, except .gat read class

Ah i understand okay :)

 

what could different between with https://github.com/H.../Yommy/Vend_SQL?


Edited by Dramosith, 26 August 2013 - 01:51 PM.


#12 Helena

Helena

    Advanced Member

  • Members
  • PipPipPip
  • 231 posts

Posted 26 August 2013 - 03:11 PM

 https://github.com/H.../Yommy/Vend_SQL

 

This doesnt seem web based or is it?



#13 jaBote

jaBote

    Advanced Member

  • Global Moderators
  • 2067 posts
  • Github:jaBote

Posted 26 August 2013 - 04:23 PM

Yommy's is a plugin and doesn't require any source edit and once compiled can activated/deactivated with just a conf change and a server restart, but has no web counterpart. This one's just a source edit that needs compilation both for adding and removing it, but has a web counterpart.

 

In case of Yommy's you just would need to make the web part yourself.



#14 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 26 August 2013 - 08:19 PM

Flux fix named item

Spoiler

Flux fix refine array

https://github.com/S...082ece16a44766d

 

Added [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]Yommy's src version for flux and sa scripts[/color]

 

Yommy Flux https://github.com/S...t_db_flux_yommy

Yommy Standalone https://github.com/S...rchant_db_yommy



#15 Dramosith

Dramosith

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 27 August 2013 - 06:55 AM

Wow Thanks so much :D you saved my time :D 



#16 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 29 August 2013 - 10:31 PM

Added

Demo

 


Edited by Sanasol, 29 August 2013 - 10:40 PM.


#17 goddameit

goddameit

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • Emulator:Hercules

Posted 30 August 2013 - 02:05 PM

awesome 


My Releases ; My Paid Services
 
( I usually don't re-check any topic or post )


mbIV1fV.png
 
(If you don't want to pay, then there is no reason that I must help you)

#18 thanna

thanna

    Advanced Member

  • Members
  • PipPipPip
  • 185 posts

Posted 31 August 2013 - 03:32 AM

Sir sanasol, I'll just ask if your web vending database is compatible with extended vending system or is there a way to make it compatible



#19 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 31 August 2013 - 09:27 AM

looked extended vending code, i think it should work. Just on the site will show that the price zeny, but in the name of the store kind of like to show the correct currency



#20 thanna

thanna

    Advanced Member

  • Members
  • PipPipPip
  • 185 posts

Posted 01 September 2013 - 06:20 AM

thanks sir, great work btw







Also tagged with one or more of these keywords: Skill, vend, fluxcp

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 693 user(s)