SA-MP Forums Archive
Pawn + Forex - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawn + Forex (/showthread.php?tid=386362)



Pawn + Forex - SEnergy - 20.10.2012

Is there ANY way pawn can connect to forex and get prices of currencies and/or commodities such as gold, oil etc?


Re: [NOT SAMP] Pawn + Forex - Glint - 20.10.2012

You realize that this is the scripting help section do you ?


Re: [NOT SAMP] Pawn + Forex - SEnergy - 20.10.2012

do you realize that this is scripting?


Re: Pawn + Forex - RedFusion - 20.10.2012

[ame]http://www.youtube.com/watch?v=lcDaBo5rudg[/ame]
This might work if you import this with the MySQL Plugin


Re: Pawn + Forex - SEnergy - 20.10.2012

it's not hard to export data using metatrader, the tricky part is that I wnat to release it, but if someone else will want to use it on his server he will have to:

1. download my app for exporting data, configure it so it will export it to his DB, make MySQL db for forex data and configujre filterscript so it will connect to his DB and create metatrader acc, the problem is that most of ppl have no idea what metatrader is, how it works, what EA is, how it works etc, so this is not a good solution

2. I will have default DB where I will store all data using my metatrader EA and other ppl using filterscript will connect to it, the problem is that I will have to create another MySQL user just for reading DB (so they won't delete/modify my forex data) and I will have to get MySQL server that can handle a lot of connections at once, and I really don't feel like buying server for other ppl when I won't have anything from it

because of that I need something to directly connect to forex and change values of variables in filterscript without connecting to DB